[Issue 17195] New: [Reg 2.074] isFloatingPoint!cfloat is now true

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Feb 17 11:42:36 PST 2017


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 at puremagic.com
          Reporter: code at 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).

--


More information about the Digitalmars-d-bugs mailing list