https://llvm.org/bugs/show_bug.cgi?id=26446
Bug ID: 26446 Summary: std::numeric_limits<long double>::max_digits10 massively wrong for ppc Product: libc++ Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: unassignedclangb...@nondot.org Reporter: richard-l...@metafoo.co.uk CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com Classification: Unclassified libc++ thinks that std::numeric_limits<long double>::max_digits10 is 33 for ppc64-linux. However, both DBL_MAX + DBL_DENORM_MIN and DBL_MAX + DBL_DENORM_MIN*2 can be exactly represented by a PPC double double, and you need around 633 decimal digits to distinguish those two values. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs