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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs