Commit graph

15 commits

Author SHA1 Message Date
Dennis
5cd77a6e32
User hyperlinks to refer to bugzilla issues (#8766) 2023-06-16 14:45:44 +03:00
Iain Buclaw
8e799c14dc std.math.exponential: Implement log/log2/log10 for double- and float-precision 2022-12-12 19:59:05 +01:00
Per Nordlöw
46d416fa9d Qualify some function parameters under std.format as const to reduce template bloat 2021-09-22 23:12:15 +00:00
Martin Kinkelin
3d90677e51 std.math.operations: Fix extractBitpattern() unittest 2021-06-02 21:22:27 +02:00
Martin Kinkelin
4d8be9050b std.math.operations: Slightly simplify extractBitpattern() 2021-06-02 20:45:13 +02:00
Martin Kinkelin
5a46c9ecf6 std.math.operations: Make extractBitpattern() @trusted
To enable unsafe reinterpret-casts directly, without extra lambdas.
2021-06-02 20:42:09 +02:00
Martin Kinkelin
ddd044d6c7 std.math.operations: Fix out-of-bounds read in extractBitpattern()
For 32-bit x86 targets with `real.sizeof == 12`.
2021-06-02 20:38:25 +02:00
Martin Kinkelin
0a685c19ac std.math: Fix missing imports for non-x87 real after split-up 2021-05-29 14:48:17 +02:00
berni44
e53d010def extractBitpattern: Add implied bit to mantissa and subtract bias from exponent. 2021-05-07 09:37:18 +02:00
Razvan Nitu
9909b6ebe3
Merge pull request #8030 from berni44/fixup_7775
Add transition note from approxEqual to isClose.
2021-05-07 15:00:23 +08:00
Nathan Sashihara
efced87ae8 Again use core.math intrinsics instead of std.math wrappers
As in PR #7821 & PR #7825. Mostly changes imports
from std.math being divided into submodules.
2021-05-04 15:59:34 +02:00
berni44
8408ce3108 Add transition note from approxEqual to isClose. 2021-05-03 11:41:44 +02:00
berni44
8d97da17d0 Move bitpattern extraction from std.format to std.math. 2021-04-30 09:37:22 +02:00
berni44
0c4dcb32a0 Narrow imports in std.math. 2021-04-19 22:32:55 +02:00
berni44
e9014c4342 std.math: Move floating point operations into operations submodule. 2021-04-17 21:52:27 +02:00