Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On VFP 4000 sums are not reliable!
Message
 
To
16/12/2005 16:30:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01078586
Message ID:
01078834
Views:
9
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform