www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17195] New: [Reg 2.074] isFloatingPoint!cfloat is now true

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

          Issue ID: 17195
           Summary: [Reg 2.074] isFloatingPoint!cfloat is now true
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

cat > bug.d << CODE
import std.traits : isFloatingPoint;

static assert (!isFloatingPoint!cfloat);
CODE
dmd -c -o- bug
----

Caused by https://github.com/dlang/phobos/pull/5038 which switched the
implementation to __traits(isFloating, T).

--
Feb 17 2017