Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simplier math formula
Message
De
16/12/2008 07:33:55
 
 
Information générale
Forum:
Politics
Catégorie:
Autre
Divers
Thread ID:
01367448
Message ID:
01367795
Vues:
9
>Alan,
>
>Unary negation does have higher precedence than exponentiation! It also represents a subtraction from 0.
>
>You can't believe everything you read on the internet.

Even from a math professor? Besides, this agrees with everything else I've read. A unary operator is not the same as a subtraction operator. To the best of my knowledge, the only places where unary operators take precedence over exponentiation is in Excel, VFP - places like that.

>
>>No David. In normal math, the unary operator does not have precedence because it actually represents a multiplication by -1. In other words, -2**2 is the same as saying -1*2**2 and since exponentiation takes precedence over multiplication, the correct answer is -4. For the record, I thought it was 4 at first too.
>>
>>Check this out: http://mathforum.org/library/drmath/view/69058.html
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform