Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bugs with literal double-precision floating-point number
Message
De
24/11/2003 10:25:31
 
 
À
24/11/2003 09:31:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00852922
Message ID:
00852941
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform