You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
version / revision | Operating System | Compiler & Version | Compiler Flags | CPU
repo as per Dec 14 2020 | ubuntu 20.04 | clang++ 10.0.0 | --std=c++17 | Haswell core i5
Here's a strange one, affecting only clang++, both for single and double precision. Other trigonometric funcions I tested come out right.
version / revision | Operating System | Compiler & Version | Compiler Flags | CPU
repo as per Dec 14 2020 | ubuntu 20.04 | clang++ 10.0.0 | --std=c++17 | Haswell core i5
Here's a strange one, affecting only clang++, both for single and double precision. Other trigonometric funcions I tested come out right.
Testcase
compiled with:
clang++ -std=c++17 sincos.cc -osincos
Actual Results
sin 0.5 -> 0
cos 0.5 -> 1
compiled with g++ -std=c++17 sincos.cc -osincos
as expected:
Expected Results
sin 0.5 -> 0.479426
cos 0.5 -> 0.877583
The text was updated successfully, but these errors were encountered: