Re: [ilugd]: Trivial C problem (Updated)

2002-01-30 Thread amit soni
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

Re: [ilugd]: Very silly question

2002-01-30 Thread Vivek
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

Re: [ilugd]: Trivial C problem (Updated)

2002-01-30 Thread Sandip Bhattacharya
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

Re: [ilugd]: This mail is not for outlook express users

2002-01-30 Thread Ambar Roy
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

Re: [ilugd]: Trivial C problem (Updated)

2002-01-30 Thread Ambar Roy
> 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

Re: [ilugd]: Trivial C problem (Updated)

2002-01-30 Thread Ambar Roy
> 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

[ilugd]: WizeByte '02

2002-01-30 Thread Arminder
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

Re: [ilugd]: Very silly question

2002-01-30 Thread Manish K Arya
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

Re: [ilugd]: Trivial C problem (Updated)

2002-01-30 Thread Sandip Bhattacharya
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

[ilugd]: configuring Apache with tomcat

2002-01-30 Thread Sandeep Vasishta
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.