TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CHRIS DOWNS
from: JONATHAN DE BOYNE POLLARD
date: 1997-10-29 12:31:00
subject: Help Please

 CD>  I would love to hear a good explanation as to why 
 CD>  3.142(double) != 3.142(float)
Incidentally, one can show quite easily that a number with a finite number of 
digits in base 2 will have a finite number of digits in base 10, and that 
there are numbers that have a finite number of digits in base 10 that require 
an infinite number of digits in base 2.
0.2 is one example of the latter.
 ¯ JdeBP ®
--- FleetStreet 1.19 NR
---------------
* Origin: JdeBP's point, using Squish (2:440/4.3)

SOURCE: echomail via exec-pc

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