https://issues.dlang.org/show_bug.cgi?id=18244
berni44 changed:
What|Removed |Added
CC||bugzi...@d-ecke.de
--- Comment #8 from berni44 --
https://issues.dlang.org/show_bug.cgi?id=18244
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Comment #
https://issues.dlang.org/show_bug.cgi?id=18244
hst...@quickfur.ath.cx changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from hst...@quic
https://issues.dlang.org/show_bug.cgi?id=18244
--- Comment #3 from Răzvan Ștefănescu ---
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
https://issues.dlang.org/show_bug.cgi?id=18244
--- Comment #4 from hst...@quickfur.ath.cx ---
Huh. I'm surprised there's such a thing as fabs in std.math. :-P
I agree that we should just unify everything under abs(). This is not C, where
we can't overload abs() for integer vs. float arguments. O
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 c
https://issues.dlang.org/show_bug.cgi?id=18244
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|-
https://issues.dlang.org/show_bug.cgi?id=18244
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/113579ec6be26777198a2e13abe9913226a385e6
Fix issue 18244: Generic functions in std.math need to h
https://issues.dlang.org/show_bug.cgi?id=18244
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/a74271be4c93cf95905265597ac9bca426378f55
Revert "Issue 18244: std.math generic functions need to
https://issues.dlang.org/show_bug.cgi?id=18244
hst...@quickfur.ath.cx changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://issues.dlang.org/show_bug.cgi?id=18244
Ate Eskola changed:
What|Removed |Added
CC||ajiesk...@gmail.com
Severity|blocker
https://issues.dlang.org/show_bug.cgi?id=18244
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P2
--
12 matches
Mail list logo