[Issue 19732] make std.complex.expi fast.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 1 14:09:34 UTC 2019


kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
                 CC|                            |kinke at gmx.net

--- Comment #3 from kinke <kinke at gmx.net> ---
(In reply to Bastiaan Veelo from comment #2)
> 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

Have you actually tested this on your box? I recently came to completely
different results with LDC on my i5-3550:

Note that `long double` is extremely rare in C(++), but ubiquitous in D.


More information about the Digitalmars-d-bugs mailing list