[Cabrinews] Cambio segno e elevamento a potenza

Paolo Cavallo ton0621 a iperbole.bologna.it
Dom 22 Nov 2009 12:43:46 CET


-------- Original Message  --------
Subject: Re: [Cabrinews] Cambio segno e elevamento a potenza
From: Paolo Bonavoglia <paolo.bonavoglia a aruba.it>
To: ton0621 a iperbole.bologna.it, Lista di discussione sul software matematico
<cabrinews a liste.keynes.scuole.bo.it>
Date: Sun Nov 22 2009 12:24:03 GMT+0100 (CET)

> Sorprendente!

Già. :-)

Su it.scienza.matematica Giorgio Pastore mi ha indirizzato a questa pagina di
wikipedia:

> Riporto da wikipedia ( http://en.wikipedia.org/wiki/Order_of_operations , 
> inglese, nella trascrizione uso ^ per indicare l' esponenziazione):
> 
> "Unfortunately, there exist differing conventions concerning the unary
> operator − (usually read "minus"). In written or printed mathematics, the
> expression −3^2 is interpreted to mean −(3^2) = −9, but in some applications
> and programming languages, notably the application Microsoft Office Excel and
> the programming language bc, unary operators have a higher priority than
> binary operators, that is, the unary minus (negation) has higher precedence
> than exponentiation, so in those languages −32 will be interpreted as (−3)^2 =
> 9."




Maggiori informazioni sulla lista Cabrinews