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
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/76dd6fe33baffb1ecfc14a192634f0ec51fb7345 Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is now true https://github.com/dlang/phobos/commit/d67d487199a2340bd83326e4db5b0e1a5ea425de Merge pull request #5171 from wilzbach/fix-17195 Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is now true merged-on-behalf-of: Jack Stouffer <[email protected]>
Comment #3 by github-bugzilla — 2017-02-24T18:15:57Z
Commits pushed to newCTFE at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/76dd6fe33baffb1ecfc14a192634f0ec51fb7345 Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is now true https://github.com/dlang/phobos/commit/d67d487199a2340bd83326e4db5b0e1a5ea425de Merge pull request #5171 from wilzbach/fix-17195
Comment #4 by github-bugzilla — 2017-03-22T12:22:16Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/76dd6fe33baffb1ecfc14a192634f0ec51fb7345 Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is now true https://github.com/dlang/phobos/commit/d67d487199a2340bd83326e4db5b0e1a5ea425de Merge pull request #5171 from wilzbach/fix-17195