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: unassignedclangb...@nondot.org
Reporter: man...@zxe.io
CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs