CEILING function substitute for 35s « Next Oldest | Next Newest »

 ▼ Martin Pinckney Posting Freak Posts: 1,248 Threads: 33 Joined: Aug 2007 09-11-2007, 02:44 PM Does anyone know a set of functions that combined, will return the same result as the CEILING function (38G)? Will be used on the 35s. Thanks for any ideas. ▼ Meenzer Member Posts: 150 Threads: 6 Joined: Sep 2007 09-11-2007, 03:35 PM For the FLOOR function: left shift-INTG-4 For the CEIL function: do the above and add 1 Edited: 11 Sept 2007, 3:36 p.m. ▼ Eduardo Duenez Member Posts: 56 Threads: 10 Joined: May 2006 09-11-2007, 04:21 PM Not really so! CEIL(x) is *equal* to FLOOR(x) if x is an integer! I don't have a 35s yet but CEIL(x) = -FLOOR(-x), so a solution is to write a short program executing NEG FLOOR NEG Eduardo ▼ Meenzer Member Posts: 150 Threads: 6 Joined: Sep 2007 09-12-2007, 12:44 AM Of course, the more enlightened posters above me are right! But with that neat NEG FLOOR NEG trick everything is provided for...;-) Paul Dale Posting Freak Posts: 3,229 Threads: 42 Joined: Jul 2006 09-11-2007, 04:34 PM Quote:For the CEIL function: do the above and add 1 Which would be wrong when the argument is an exact integer. - Pauli

 Possibly Related Threads... Thread Author Replies Views Last Post HP50g: Writing a function that returns a function Chris de Castro 2 1,413 12-10-2013, 06:49 PM Last Post: Han Any substitute for HP 41C series???? Larry Estatico 36 5,730 10-08-2010, 05:25 PM Last Post: Martin Pinckney HP-97 battery pack substitute? Mike McCauley 12 2,217 10-03-2007, 04:11 PM Last Post: geoff quickfall Incomplete gamma function et al. for 35s Les Wright 8 1,675 08-27-2007, 10:21 PM Last Post: Karl Schneider A Sigma Function in the 35s Solver! Katie Wasserman 16 2,995 08-21-2007, 10:10 AM Last Post: Gene Wright Error function 35s vs. 32SII Thomas Radtke 8 1,745 08-01-2007, 12:37 PM Last Post: Les Wright Substitute Magnetic Cards for HP-97? Paul Brogger 3 1,001 03-31-2003, 08:58 PM Last Post: Paul Brogger 9114 substitute question Andy 0 511 02-22-2003, 10:35 PM Last Post: andy x=4? Function Shawn 2 852 10-01-2002, 10:12 AM Last Post: Vieira, Luiz C. (Brazil) Implement 'AND' function with 'XOR' function. tal 4 1,008 12-13-2000, 05:55 AM Last Post: Steve (Australia)

Forum Jump: