[Issue 18244] Generic functions in std.math cannot be overloaded

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 16 22:15:17 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18244

--- Comment #5 from hsteoh at quickfur.ath.cx ---
W.r.t NaN, I agree it would be nice to be able to specify the exact type
desired. I don't think the payload has to be a template parameter; it should
just be ulong since all unsigned integral types will convert to ulong, and we
can just take however many bits to fit into the payload of the requested type.

Again, I think this belongs in a separate issue so that it doesn't get lost
amid the overloading issues.

--


More information about the Digitalmars-d-bugs mailing list