Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Math Formula
Message
De
15/12/2008 09:30:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
15/12/2008 09:11:04
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Politics
Catégorie:
Autre
Titre:
Divers
Thread ID:
01366554
Message ID:
01367434
Vues:
10
>I didn't know VFP's behaviour like that.
>
>I think so fortran is right... :)


No. The result of fortran is right if you code fortran. The result of vfp is right if you code in vfp.

It is simply wrong to trust assumptions if you deal with formulas and comps.

I do not know but on primary school there was something what we called chain - calculation. It was just to learn basic operaitons

The teacher asks 2+3
Answer 6
T -2?
A 4
T *2
A 8

So nobody would assume that 2+3-2*2 is 8

But this was not the formula. It was
lnResult=2+3
?lnResult
lnResult=lnResult-2
?lnResult
lnResult=lnResult-2
?lnResult
lnResult=lnResult*2
?lnResult

This is the same if you use a four operator caculator or a scientific one.

An other example is the use of MOD(). It looks like Modulo operation but it is not. (comes up twice a year in this forum)
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