www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19732] New: make std.complex.expi fast.

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 puremagic.com
          Reporter: Bastiaan 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

--
Mar 12 2019