discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Openstep Enterprise 4.2


From: Marcus Müller
Subject: Re: Openstep Enterprise 4.2
Date: Sat, 27 Apr 2002 01:24:19 +0200

On Friday, April 26, 2002, at 06:39 PM, David.Ayers@brainag.com wrote:

It actually is problem of Openstep 4.2 Enterprise (i.e. NT/W2K) (+/- Y2k Patch)
(maybe other Versions of Openstep also ?)

The short Version:
NSDecimalCompare(12.5, 12.5000000000000000000000000000000000121)
evaluates to NSOrderingSame !!!

Hi,

from OS X's NSDecimal.h:

#define NSDecimalMaxSize (8)
// Give a precision of at least 38 decimal digits, 128 binary positions.

You're exceeding the maximum precision possible with the implementations of OPENSTEP, Rhapsody and OS X (I just checked the last, but assume it's the same on the other platforms).

Cheers,

  Marcus


--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]