ummmm.. Finite precision variables????
> I have the same problem with C++ program!
> I compiled with Borland C++ 5.5 compiler.
>
> float a = 1000000.20;
> float b = 1000000.00;
> float c = a - b;
>
> Result of c is 0.1875!!!!!!!!
> ????
>
> We tried this on the same machine but on Linux operating system. Same
> problem with Java and C++ code!
>
> Nobody understand why is this hapening!
>
> Reinkarnation of old Pentium bug?
>
> Regards,
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets