TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Peter Leschev
from: Paul Edwards
date: 1996-08-17 02:59:06
subject: possible floating point error in BC

PL> (although that question was alot harder). I decided to use borland's 
PL> function to convert a floating point number to a string and to find the 
PL> digit set from there but for some reason borland only converted at most 20 
PL> decimal places =(

PL> Does anyone know of this limitation?????

No, but since they probably use 4 bytes to store a float, and 8 bytes to
store a double, there is a finite number of significant decimal places.  20
is quite likely to be that limit.

BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

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