Re: TIB: How do you use int so it goes up?
[Prev][Next][Index][Thread]
Re: TIB: How do you use int so it goes up?
The way to simulate the ceiling function, if you are not using a TI-92, is
the following:
-int(-x)
which is equal to ceiling(x). It requires no IF statements, just that
simple formula. I discovered that by typing ceiling(x) into the TI-92, and
it's symbolic evaluator returned -int(-x).
Note to TI-92 users: It actually returned -floor(-x), but floor() is
identical to int() according to the manual.
________________
Jeff Tyrrill
http://tyrrill-ticalc.home.ml.org/
http://ti-philes.home.ml.org/
Follow-Ups: