Re: Strange problem
Rett, you wrote:
>That is why most systems choose to truncate rather than round.
>Truncation produces a printout much closer to the truth than
>rounding. Rounding, as in this case, can conceal the fact that
>a calculation will not work because of the actual underlying number.
>I would suggest that the rounding be removed and truncation be
>used in the next release...at all levels. It should be faster, and it
>would solve the other noted problems. Same should apply for
>prints of float32 or float64. They should trunc(to zeros if necessary)
>at the last possible significant digit, even if more digits are requested
>than are significant.
Now I agree that truncation might be better than floor()ing in
some cases but I don't see how it is ever better than rounding
except in the speed department.
later,
Lewis Townsend
keroltarr at hotmail.com
http://geocities.com/keroltarr/
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
|
Not Categorized, Please Help
|
|