You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With certain numbers, it allows the default precision of 0.0001 ( 1, 4.....31, 256.......2047, 8192.....16383 )
And with the other numbers, it returns false.
This code can be used to see at which numbers it returns true ( set the range accordingly, the current range is 1 to 100):
What version of Pharo are you using? We probably rely on the #closeTo: of Pharo and I found a bug in it that I fixed in the latest Pharo 11. Maybe this is related.
Returns true
Also returns true.
However,
Returns false.
With certain numbers, it allows the default precision of 0.0001 ( 1, 4.....31, 256.......2047, 8192.....16383 )
And with the other numbers, it returns false.
This code can be used to see at which numbers it returns true ( set the range accordingly, the current range is 1 to 100):
The text was updated successfully, but these errors were encountered: