[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Rounding a number to integer
- From: Duane Leslie <parakleta@...>
- Date: Sun, 31 Jul 2016 08:30:38 +1000
> > rint(0.50001)
> 0
I get 1 as the result on my version, not sure how you could get otherwise. The addition should populate the guard and sticky bits which should then round up.