Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange and dangerous behaviour
Message
De
19/10/2004 12:22:43
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
19/10/2004 10:44:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00952515
Message ID:
00952682
Vues:
7
Fabio,

I have argued about that with you before and AFAIK there is no change. So we do not do this twice.

The problem is not how something is stored but how it is calulated.

Agnes
>>Alessio,
>>
>>You can not trust a computer in computing. Thats normal. This was the very first I ever learned about computing. It needs always a human brain to make sense out of it.
>>The simplest reason is translating a decimal fraction into a binary one is imposiible, so a simple 0.1 is not that easy because a binary fraction as divided by 2 and 0.1 is 1/(2*5). This wil end up in 0b0.0001011111111111111111.....
>
>Agnes.
>1. With binary you can traslate any decimal fraction ( it is very simple to define a format with two binary integers ).
>
>2. On VFP you can use $0.1, it is write with binary sequence, and it is translated exactly.
>
>Have VFP decimals ? No! Simple.
>
>The not obvious thing is that, because VFP is not a scientific environment,
>a developer expects that there are sure the decimals and optionals the double.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform