Random of zero

Dar Scott dsc at swcp.com
Wed May 14 13:46:01 EDT 2003


On Wednesday, May 14, 2003, at 09:47 AM, Raymond E. Griffith wrote:

> With computers, however, -2^4 = 16. The computer does the negation 
> before
> the exponent, even though negation algebraically is multiplication. It 
> makes
> sense, since the representation of negative integers in binary reveals 
> no
> "negative" sign. It is just another number.

I have seen a programming language in which negation is an operator 
that is often optimized out.  I can't remember where I have seen it 
though.

Dar




More information about the metacard mailing list