[Issue 19712] std.math.sin and cos cast float to real before evaluating.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 1 13:16:40 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19712

--- Comment #2 from Alex <alex at sunopti.com> ---
I put the bug here because it is caused by phobos. Ldc has added a version(ldc)
section that removes the casts to real and implements sin and cos differently
depending on precision.
if I can get around it by calling a different sin function in phobos, then I
think it is a phobos bug, but there is some interaction with the compilers

--


More information about the Digitalmars-d-bugs mailing list