Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A simplier math formula
Message
 
 
À
16/12/2008 08:20:08
Information générale
Forum:
Politics
Catégorie:
Autre
Divers
Thread ID:
01367448
Message ID:
01367848
Vues:
14
>>>>-2**2
>>>>
>>>>what the answer... I lost my bet with my secondary schoolgirl daughter... :(
>>>
>>>There are some implied parenthesis in the expression and the result depends on where they are.
>>>
>>>Does the expression mean -(2**2) or (-2)**2?
>>
>>Implied parenthesis? I didn't know there were any. I thought in the absence of parenthesis the rules of precedence and right or left associativity apply.
>
>Oh yes, there are. They are defined by the rules of precedence and right or left associativity - as you put it
>
>It's like converting an expression to a fully parenthesized expression.
>The ones that were added in the fully parenthesized expression were 'implied' - wouldn't you agree ?

Yes. You're right and I misspoke.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform