www.digitalmars.com         C & C++   DMDScript  

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

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

--
Oct 30 2018