www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18247] New: core.stdc.math functions that never set errno

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

          Issue ID: 18247
           Summary: core.stdc.math functions that never set errno should
                    be pure
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: n8sh.secondary hotmail.com

core.stdc.math functions that never set errno should be pure. These include:

* cos, sin, tan, atan;
* tanh, asinh;
* frexp, modf;
* cbrt;
* erf;
* ceil, floor, trunc, round, rint, nearbyint;
* copysign, nan;
* fdim, fmax, fmin;
* fabs, abs, fma;
* fpclassify, isfinite, isinf, isnan, isnormal, signbit;
* isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered.

--
Jan 16