Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
March 05, 2018 [Issue 18559] std.math.* should stop using `real` overloads by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18559 kinke@gmx.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kinke@gmx.net --- Comment #1 from kinke@gmx.net --- (In reply to hsteoh from comment #0) > Let 80-bit be an option if the user > wants to, sure. But can we please, pretty please, change the default type > in std.math.* to double instead of real. Performing the operation in the precision of the operands is what I'd expect. So having to cast explicitly to real if my data is stored as float/double and max precision is needed. Some math functions are still only implemented for `real`, but they support reals in double/x87/quadruple precision for the different architectures, i.e., support for 64-bit doubles (proper constants, limits etc.) is already there. E.g., std.math.atan(real) could be generalized to a template (float/double/real) after adding single-precision support (from Cephes probably). -- |
March 11, 2018 [Issue 18559] std.math.* should stop using `real` overloads by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18559 Nicholas Wilson <iamthewilsonator@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iamthewilsonator@hotmail.co | |m --- Comment #2 from Nicholas Wilson <iamthewilsonator@hotmail.com> --- Please review: https://github.com/dlang/phobos/pull/6257 https://github.com/dlang/dmd/pull/7995 https://github.com/dlang/druntime/pull/2135 -- |
January 09, 2021 [Issue 18559] std.math.* should stop using `real` overloads by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18559 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex@sunopti.com --- Comment #3 from Mathias LANG <pro.mathias.lang@gmail.com> --- *** Issue 19712 has been marked as a duplicate of this issue. *** -- |
May 11, 2022 [Issue 18559] std.math.* should stop using `real` overloads by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18559 John Hall <john.michael.hall@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |john.michael.hall@gmail.com --- Comment #4 from John Hall <john.michael.hall@gmail.com> --- I would add to this the functions in std.mathspecial, which are only defined for reals. -- |
December 17, 2022 [Issue 18559] std.math.* should stop using `real` overloads by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18559 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P4 -- |
July 08, 2023 [Issue 18559] std.math.* should stop using `real` overloads by default | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18559 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=24040 -- |
Copyright © 1999-2021 by the D Language Foundation