TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Jasen Betts
from: Bill Birrell
date: 2004-04-15 09:29:02
subject: Squares

>  NH> Otherwise, you would start getting negative numbers after a bit.

 > or better.

 >  for (n=0; n (double)n*n); } return 0;

    This baffles me. I ignored it first time round, but I really don't see
how squares can ever go negative. It is a characteristic of squares that
they are always positive. If you can get a negative number by squaring an
integer your math is by definition absurd. That was why j notation had to
be invented.

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™.