Bug 17195 – [Reg 2.074] isFloatingPoint!cfloat is now true
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-02-17T19:42:00Z
Last change time
2017-03-22T12:22:16Z
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2017-02-17T19:42:36Z
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).
Comment #1 by greeenify — 2017-02-21T05:35:16Z
pull https://github.com/dlang/phobos/pull/5171
kept the reference as mention only as I am not sure whether you still want to fix this properly as deprecation in dmd.
Comment #2 by github-bugzilla — 2017-02-21T08:30:37Z