sinful bug
Lex Spoon
lex at cc.gatech.edu
Thu Aug 3 13:00:58 UTC 2000
Luciano Notarfrancesco <lnotarfrancesco at yahoo.com> wrote:
>
> x sin = x for all x >= 16r7FFFFFFFFFFFFDFC
>
> Why?
>
Man, for large integers, this should really work! Cascading problems in
my attempts to solve it:
Number>>sin should do mod (2*Pi) before converting to a float
mod (\\) on large integers shouldn't convert the receiver to a float!
What a mess. I give up. Try to operate on smaller numbers, Luciano :)
-Lex
More information about the Squeak-dev
mailing list
|