[Issue 19732] make std.complex.expi fast.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 1 09:56:05 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19732
Bastiaan Veelo <Bastiaan at Veelo.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Bastiaan Veelo <Bastiaan at Veelo.net> ---
Nowadays, the x87 instruction fsincos is slower, not faster, than computing sin
and cos separately.
https://stackoverflow.com/questions/12485190/calling-fsincos-instruction-in-llvm-slower-than-calling-libc-sin-cos-functions
Therefore, there is no need for assembly in the expi() implementation, which
was removed in
https://github.com/dlang/phobos/commit/029440c2f9008ff2fe8803c97900394bfe9b4e4e.
--
More information about the Digitalmars-d-bugs
mailing list