[Issue 19346] New: std.math log* functions only have real versions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 31 04:00:59 UTC 2018


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

          Issue ID: 19346
           Summary: std.math log* functions only have real versions
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: ldti at rrofie.e4ward.com

The std.math functions 'log', 'log10', 'log1p', 'log2' and 'logb' only have
versions that accept a real argument and return a real value. Many other
std.math functions, e.g., 'sin', 'cos', etc., also have versions that accept
and return double as well as float. It would be preferable if the former group
were consistent with the rest.

--


More information about the Digitalmars-d-bugs mailing list