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?




Jeff Tyrrill wrote:
> 
> 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.

Yes, I believe we have that settled now.... :)

-- 
          Rene Kragh Pedersen
------------------------------------------------------------------
(2) When joining the two chain ends, the closing spring is to be
pressed in, but in no other way than contrary to the running direction
of the chain in the two closing grooves.


References: