JOIN
 Select a Forum     Round Tables New Member Discussions News Discussions Algorithm Matches Marathon Matches NASA Tournament Lab TopCoder Cookbook High School Matches Sponsor Discussions Development Forums Design Forums Search | Watch Thread  |  My Post History  |  My Watches  |  User Settings View: Flat (oldest first)  | Threaded  | Tree Previous Thread  |  Next Thread Forums Tutorial Discussions Representation of Integers and Reals Tutorial is 123456123456.1234588623046875 can be store in double without rounding
 Re: is 123456123456.1234588623046875 can be store in double without rounding (response to post by AdmireCarmack) | Reply I think misof meant 15 digits of mantissa in scientific representation, like 1.234561234561234588623046875e11.If you keep only 15 digits of mantissa it will become 1.234561234561235e11 which can be stored in double with error less than unit of smallest digit.
 Re: is 123456123456.1234588623046875 can be store in double without rounding (response to post by AdmireCarmack) | Reply You seem to be right:`\$ cat > Test.javaclass Test {public static void main (String[] a) {System.out.printf ("%f\n", 123456123456.1234588623046875);}}\$ javac Test.java\$ java Test123456123456.123460\$`
 is 123456123456.1234588623046875 can be store in double without rounding | Reply in misof's article, he said 15 decimal digits can be expreesed in mantissa , but this number is far beyond 15 decimal digits.so i think it can't be store in double without rounding.is it correct?btw, misof's article is great, i get a lot of benefit from it.
 Forums Tutorial Discussions Representation of Integers and Reals Tutorial is 123456123456.1234588623046875 can be store in double without rounding Previous Thread  |  Next Thread