Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bugs with literal double-precision floating-point number
Message
From
24/11/2003 10:25:31
 
 
To
24/11/2003 09:31:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00852922
Message ID:
00852941
Views:
9
2. Question

More restrictive rule:
if literal1>literal2 then internalvalue1>=internalvalue2 is respected ?
SET DECIMALS TO 18  && YOU CAN PUT ANY VALUE HERE, RESULT NOT CHANGE
SET FIXED OFF       && YOU CAN PUT ON HERE, RESULT NOT CHANGE
? 3.1199999999999710399999999999E140	&& 3.11999999999999000000000000000000E+140
? 3.11999999999997103E140  		&& 3.12000000000000000000000000000000E+140
? 'then numeric literal order is respected ?' , 3.1199999999999710399999999999E140>=3.11999999999997103E140
This is a little Bug ( veri strange ), and occurs ( i hope ) only for many decimals.

But, now, problem occurs for 28° decimal.

Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform