[Issue 19732] New: make std.complex.expi fast.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 12 22:43:39 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19732
Issue ID: 19732
Summary: make std.complex.expi fast.
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: Bastiaan at Veelo.net
std.math.expi is deprecated, one is advised to use std.complex.expi instead.
But, unlike the former, std.complex.expi does not make use of fsincos[1] when
available.
(And it's documentation refers to deprecated std.math.expi for a faster
implementation, which is a bit silly.)
[1]
https://github.com/dlang/phobos/blob/d28a879fecbb7b478e660541bc94c402d38c913d/std/math.d#L3214
--
More information about the Digitalmars-d-bugs
mailing list