[llvm-bugs] [Bug 41021] New: Wrong __FLT16_MIN_10_EXP__
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Mar 10 04:09:35 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=41021
Bug ID: 41021
Summary: Wrong __FLT16_MIN_10_EXP__
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: manuel at zxe.io
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at metafoo.co.uk
In file "lib/Frontend/InitPreprocessor.cpp" line 125:
int Min10Exp = PickFP(Sem, -13, -37, -307, -4931, -291, -4931);
I think the 2nd argument is wrong, it should be -3, since the value of the
predefined macro __FLT16_MIN_10_EXP__ should be -3 instead of -13. So change
that line to this:
int Min10Exp = PickFP(Sem, -3, -37, -307, -4931, -291, -4931);
--
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/20190310/b2e0de51/attachment.html>
More information about the llvm-bugs
mailing list