https://issues.dlang.org/show_bug.cgi?id=18244
--- Comment #5 from hst...@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. --