| The right answer of -1^2 is? |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.functional · Group Profile
Author: Förster vom SilberwaldFörster vom Silberwald Date: Oct 3, 2007 11:13
Hello:
Please do not get worked out over my crossposting to lang.lisp,
lang.scheme, and lang.functionl.
There has been a discussion on heise.de about the following:
What is the correct answer of the following: -1^2
I had thought it is +1. My Bigloo Scheme gives: (expt -1 2) --> 1
However, the R language tailored to statistical calculations gives the
following: print(-1^2)
--> -1
Some have argued on heise.de that -1 is mathematically speaking the
right answer.
Thanks, for any some more insights into a not so easy problem I guess.
|