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

# Re: Floating point error

- Date: Wed, 13 Mar 1996 12:10:43 PST
- From:
- cc: moo-cows.PARC@xerox.com
- In-Reply-to: "Brian Buchanan's message of \"Tue, 12 Mar 1996 15:48:45 PST\" <199603122348.PAA17846@wasteland.calbbs.com> "

    Brian Buchanan writes:
    > 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

    This is, indeed, an issue in the release and not just in any particular
    operating system.  The change (in 1.8.0) was to add a couple more digits to the
    output of floating-point numbers (DBL_DIG + 2 instead of just DBL_DIG, for
    those who know what that means).  I was trying to be sure of getting all of the
    information in the number, especially for DB saving, but I may have gone too
    far.  I'll look into it for 1.8.0p2.

    	Pavel

References:

- Floating point error

- From: Brian Buchanan <brian@wasteland.calbbs.com>

- Prev: Re: Floating point error
- Next: Re: Floating point error
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index