March 29, 2016 [phobos] [D-Programming-Language/phobos] 4b1f2f: std.math.pow: change type from `double` to `real` ... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 4b1f2f0147cfa8a6fed9bc9830f72060024d305d https://github.com/D-Programming-Language/phobos/commit/4b1f2f0147cfa8a6fed9bc9830f72060024d305d Author: Johan Engelen <johan@tostiband.nl> Date: 2016-03-20 (Sun, 20 Mar 2016) Changed paths: M std/math.d Log Message: ----------- std.math.pow: change type from `double` to `real` for internal variable. This change fixes a unittest failure with LDC with optimizations on. Note that the return type of `impl` is `real` (not `Float`) and thus changing the type of `sign` to `real` should not matter / be more correct? I am not sure why `w` on line 6299 is of type `Float`. Commit: 15c26cd74bccad3dcff9e6bc77374ac2c5d604c0 https://github.com/D-Programming-Language/phobos/commit/15c26cd74bccad3dcff9e6bc77374ac2c5d604c0 Author: Ilya Yaroshenko <ilyayaroshenko@gmail.com> Date: 2016-03-29 (Tue, 29 Mar 2016) Changed paths: M std/math.d Log Message: ----------- Merge pull request #4101 from JohanEngelen/patch-1 std.math.pow: change type from `double` to `real` for internal variable. Compare: https://github.com/D-Programming-Language/phobos/compare/d90273a86a21...15c26cd74bcc |
Copyright © 1999-2021 by the D Language Foundation