Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On VFP 4000 sums are not reliable!
Message
 
À
16/12/2005 16:30:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01078586
Message ID:
01078834
Vues:
8
>>>N(9,6) is a base10 value...
>>
>>stored in a Base2 representation.
>
>Sorin
>
>The physical representation has not meant.
>If you known information theory,
>what counts they are the used symbols,
>and in N(9,6) 10 numerical symbols and two format symbols are used.
>
>In fact the VM of VFP has to convert N(9,6) in a float IEEE
>to be able to use the cpu directly.
>
>Some CPUs IBM (360) of once had instructions
>native to directly effect BCD calculations.
>
>If you read two N() directly ( it is a ASCII string )
>and execute the sum with a routine, digit by digit
>you have a base10 virtual cpu over a base2 cpu.

Fabio,

Thanks for the explanation. Even though I don't think you'll see any adjustments to the VFP arithmetic, I think your observations generate enough controversy to make them interesting.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform