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.
CEILING function substitute for 35s
|
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.
09-11-2007, 03:35 PM
For the FLOOR function: left shift-INTG-4 Edited: 11 Sept 2007, 3:36 p.m.
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
09-11-2007, 04:34 PM
Quote: Which would be wrong when the argument is an exact integer. - Pauli
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...;-) |
« Next Oldest | Next Newest »
|