MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: Floating point error



At 01:43 AM 3/13/96 PST, Mark R. Bowyer wrote:
>
>
>> It appears that there's a problem with floating point in 1.8.0p1...
>> On a MOO running 1.8.0beta3 and on another running beta2:
>> ;1.6
>> => 1.6
>> On a MOO running 1.8.0p1 and on ANOTHER running p1:
>> ;1.6
>> => 1.6000000000000001
>
>Your floating point errors, as previously discussed  in MOO-Cows, are far
more likely to be due to your maths library and your host 
>than to the MOO server itself.  That's why you get different results on 
>different machines.  It works perfectly under Solaris 2.3 and 2.5, BTW.
>
>Pavel can't be blamed for the condition of libm on your system.  Not really
much 
>*you* can do about it either, I'm afraid, unless you can patch/upgrade your 
>host.
>
>Maybe we should compile a list over MOO-Cows of which revs of which OSs have 
>these FP resolution problems?  Maybe someone would like to write a patch to do 
>rounding to 5dp or something in the builtins to try to aleviate this?

My computer does this too...  I want a patch!  It didn't do this in beta2...

- Kipp
-----BEGIN GEEK CODE BLOCK-----
GCS/CC d- s+:- a16 C++ UL++++ P+ L++ E-? W+ !N--@ !o-- K->K++++++
w++(--) O- M-- V--? PS++(+) PE(--) Y+ PGP-? t+ 5(+) X++ R+++(*)
!tv b+ DI++++ D++++ G e* h!()(*) r+ !y+
------END GEEK CODE BLOCK------
-----BEGIN NOT SO GEEKY BLOCK-----
MOO projects:
  RPG Minimal.db:  paradigm.microwave.com 5000
  MOO2000:         moo.microwave.com 2000
  MundoHispano:    europa.syr.edu 8888
------END NOT SO GEEKY BLOCK------



Follow-Ups:

Home | Subject Index | Thread Index