https://issues.dlang.org/show_bug.cgi?id=18244
--- Comment #3 from Răzvan Ștefănescu <[email protected]> --- NaN assumes that you want to create a real nan; The correct signature will be in my opinion: NaN(F, T)(const T payload) if (isFloatingPoint!T && isUnsigned!T) This will allow to create float or double NaNs. Ref abs: I don't understand exactly why we have abs and fabs. I think that dropping "fabs" and specializing "abs" for each numeric type is a better approach. --
