[llvm-bugs] [Bug 26446] New: std::numeric_limits<long double>::max_digits10 massively wrong for ppc
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Feb 2 18:02:11 PST 2016
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: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: llvm-bugs at lists.llvm.org, mclow.lists at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160203/2f2d7bfe/attachment.html>
More information about the llvm-bugs
mailing list