Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simplier math formula
Message
De
17/12/2008 03:38:58
 
 
À
17/12/2008 03:27:40
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Politics
Catégorie:
Autre
Divers
Thread ID:
01367448
Message ID:
01368025
Vues:
9
>>>>Was there ever a conclusion here as to what is correct?
>>>>
>>>>I would of done it like this:
>>>>(-2)^2 = 4
>>>>
>>>
>>>try:
>>>
>>>?5-2^2
>>>
>>>?-2^2
>>>
>>>obviously VFP and Excel has a bug.
>>
>>
>>Metin,
>>
>>This is not algebra
>>
>>The minus sign in the first expression is a binary operator.
>>In the second expression, it's a unary operator
>>
>>The unary minus has higher precedence than the exponent
>>The binary minus has lower precedence than the exponent
>>
>>No bug
>
>you say
>
>?5-2^2
>
>different than
>
>?-2^2+5
>
>that can't acceptable...

Metin,

In algebra it is the same

In computer language it's different: There's a unary and a binary minus with different precedence
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform