Thread overview
[Issue 23845] std.math.traits.copysign returns the wrong value
April 19, 2023
https://issues.dlang.org/show_bug.cgi?id=23845

--- Comment #1 from grylliade@hotmail.com <grylliade@hotmail.com> ---
Did this slip through because unit tests are run at compile time? Because the unit tests sure as hell should’ve caught this.

I’d also recommend keeping template parameter order consistent between the versions of copysign(); it’s not a bug, but it could damned easily cause one if someone’s not paying attention.

--
April 19, 2023
https://issues.dlang.org/show_bug.cgi?id=23845

--- Comment #2 from grylliade@hotmail.com <grylliade@hotmail.com> ---
My pointer syntax is much rustier than I’d realized, so…ignore this. cbrt() should still be pure, though; a cube root function *not* being pure is…surprising, at the least.

--
April 19, 2023
https://issues.dlang.org/show_bug.cgi?id=23845

grylliade@hotmail.com <grylliade@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--