Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: real format
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 1036 of 1118
Post > Topic >>

Re: real format

by Wolf Behrenhoff <NoSpamPleaseButThisIsValid3@[EMAIL PROTECTED] > Jun 21, 2007 at 01:14 PM

inscriptionalacon@[EMAIL PROTECTED]
 schrieb:
> I mean : how many digits are save ?

Do you know how reals work?

Real has
1 bit sign
8 bits exponent
39 bits mantissa

To answer your question I have to ask: What is a "digit"? 0..9, 0..1,
0..f?

For 0..9: 2^39=549755813888 - so you have a "5" followed by 11 digits.
That means 11 digits are safe.

Wolf
 




 7 Posts in Topic:
real format
inscriptionalacon@[EMAIL   2007-06-20 13:23:06 
Re: real format
Wolf Behrenhoff <NoSpa  2007-06-21 00:14:05 
Re: real format
inscriptionalacon@[EMAIL   2007-06-21 01:40:54 
Re: real format
Wolf Behrenhoff <NoSpa  2007-06-21 13:14:43 
Re: real format
inscriptionalacon@[EMAIL   2007-06-21 01:41:54 
Re: real format
inscriptionalacon@[EMAIL   2007-06-21 04:44:18 
Re: real format
"Markus.Humm" &  2007-06-24 13:43:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 23:58:53 CDT 2008.