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

 CD>  I would love to hear a good explanation as to why 
 CD>  3.142(double) != 3.142(float)
Try converting them from base 10 to base 2.  
Remember that IEEE 754 Short Real (float on most platforms, including x86 
PCs) has a 23 bit significand, and that IEEE 754 Long Real (double on most 
platforms) has a 52 bit significand.
 ¯ 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™.