[squeak-dev] Re: [ANN] Number comparison, hash, NaN, Point, and other partially ordered sets

Bert Freudenberg bert at freudenbergs.de
Fri Jan 9 15:20:08 UTC 2009


On 09.01.2009, at 16:16, Tim Olson wrote:

>
> On Jan 8, 2009, at 9:30 AM, Hans-Martin Mosner wrote:
>
>> AFAIK, the Croquet project needs to have exactly reproducible float
>> arithmetics on all platforms.
>
> Are you using the exact same code on all platforms for   
> trancendentals and other floating-point functions?  If not, that is  
> going to be the greatest source of different results.  They tend to  
> vary widely on accuracy, since there is no 1/2 ULP accuracy  
> requirement for those functions, unlike for the defined IEEE  
> operations (+,-,*,/,sqrt)


Yes, Andreas wrote a new plugin to ensure bit-identical floating point  
ops across platforms.

- Bert -





More information about the Squeak-dev mailing list