|
|
> "abs(A) Absolute value of A. If A is negative, returns -A otherwise
> returns A."
>
> er...that isn't what absolute value is. absolute value of A is +A, if
> A is negative, the absolute value is +A, not -A. is the behaviour of
> POV or the documentation incorrect?
You understanding of unary plus is incorrect.
+A = A. (A < 0) implies (-A > 0).
--
There once was a teacher of great renown, Gather your goods
Whose words were like the tablets of stone, and follow me
Because it's easier to learn than unlearn, Or you will surely die
Because we've passed the point of no return. Paul Simon, 'The Teacher'
Post a reply to this message
|
|