I think float cannot hold more than 32bit, ur number is definately more than 32bit.
try double its 64bit
and long double i think is 80 bits ? or 82 bits not sure about long double.
Atleast try your program with using double or long double !!
Will save a lot of effort. ;o)
- Original Mess
or use uname - such as
uname -r[for release information]
uname -a [ for date & time of release]
etc.
Vivek
Kapil Sethi wrote:
> Hi,
>
> A very simple question. how do I know the version of RH Linux installed on
> my machine ???
>
> Thanks
> Kapil Sethi
> System Administrator
> Bhar
Real numbers are stored in the form of a mantissa and exponent.
Float in glibc uses 6 decimal digits as the precision of the mantissa.
Check out "/usr/lib/gcc-lib/i386-redhat-linux/3.0.2/include/float.h"
---
/* Number of decimal digits of precision in a float */
#undef
Please use "File/Properties/Details/Message Source" to read the rest of the
mail
under Outlook Express!
begin The actual Mail
Basically as u can see in the subject line, this mail is not for outlook
express users!!! :D
> What was that.
> Subject: [ilugd]: This mail is not for outlook express u
> What am i doing wrong?
> for those who posted
> suggestions I would not like to change the data type
> to something else as the float can
> definitely hold this value
how are u so sure that float can hold this value
did u read the compiler docs for the compiler that u r using. Please d
> This explains your second output. However, I am at a loss at the first
output.
> While I cant explain that, the fact that the difference is near a power of
> 2 suggests that it has got something similar to do with the storage of the
> mantissa again.
essentially u r guranteed a precesion of 6 di
Hi all,
I am a student of MCA curriculum at
Institute Of Management Technology, Ghaziabad-one of the premier Management
and Technology schools in India.
Every year the PGDCA department at IMT holds an ALL
INDIA INFOTECH SYMPOSIUM called WIZEBYTE. This year the event is scheduled to be
uname -r shows kernel release
& uname -a shows every thing but not Rhat version
use $cat /etc/redhat-release
On Wed, 30 Jan 2002 17:01:23
Vivek wrote:
>or use uname - such as
>uname -r[for release information]
>uname -a [ for date & time of release]
>etc.
>
>Vivek
>
>Kapil Sethi
What I find interesting is:
1. The printf function is giving a supposedly higher precision in the
mantissa than the iostream cout.
2. I tried with different numbers and the difference between the the
original number and the number
output using printf is equal to some power of 2 minus one.
- S
Dear all,
I am trying to configure apache with tomcat on Linux 7.1. Tomcat is
workiing fine as a standalone. But while configuring apache with tomcat,
could someone tell me from where to get this mos_jser.so file.
10 matches
Mail list logo