https://bugs.llvm.org/show_bug.cgi?id=46376
Bug ID: 46376
Summary: different std::tan() return value in Debug and Release
build
Product: libc++
Version: unspecified
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: zsolt.garamvol...@gmail.com
CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
For specific inputs std::tan() returns different values in Debug and Release.
Here's the code that demonstrates the issue (tested in Xcode 10.3 (10G8) under
macOS Mojave 10.14.6 (18G95)):
#include <cmath>
int main(int argc, const char * argv[]) {
return std::tan (0.356189668f) == 0.372058868408203f ? 1 : 0; // returns 1
in Debug
//return std::tan (0.356189668f) == 0.372058898210526f ? 1 : 0; // returns
1 in Release
}
--
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