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: [email protected]
          Reporter: [email protected]

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).

--

Reply via email to