TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Pascal Schmidt
from: Bill Birrell
date: 2004-04-27 01:39:00
subject: Squares

> So, theoretically speaking, the square doesn't go
 > negative, we just don't get all the bits on a computer
 > doing int maths. When the (truncated) result of an int
 > multiplication is later viewed as an unsigned int, the
 > result may *appear* to be negative, precisely when the
 > highest bit happened to be set to 1 by the
 > multiplication.

    Nice that you agree. :-)

Best Wishes,
Bill.

---
* Origin: Escan BBS (2:25/200)
SEEN-BY: 633/267 270
@PATH: 25/200 108 252/110 250/501 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.