D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 17195 - [Reg 2.074] isFloatingPoint!cfloat is now true
Summary: [Reg 2.074] isFloatingPoint!cfloat is now true
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-17 19:42 UTC by Martin Nowak
Modified: 2017-03-22 12:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2017-02-17 19:42:36 UTC
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 Seb 2017-02-21 05:35:16 UTC
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 github-bugzilla 2017-02-21 08:30:37 UTC
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 <jack@jackstouffer.com>
Comment 3 github-bugzilla 2017-02-24 18:15:57 UTC
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 github-bugzilla 2017-03-22 12:22:16 UTC
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