| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-05-17 | std.math: simpler error handling | alice | |
| 2022-04-07 | use math/float.zig everywhere | viri | |
| 2022-04-06 | std.{fmt, math}: derive float constants from std | viri | |
| This also addresses a nit from #10133 where IntT might be a confusing name because it might imply signed integer (iX, not uX). We settled on TBits for math/float.zig so I've applied that change here too. When I originally wrote ldexp() I copied the name from parse_hex_float. | |||
| 2021-11-23 | std/math: add ldexp and make scalbn an alias | Marc Tiehuis | |
| We assume we are compiled on a base-2 radix floating point system. This is a reasonable assumption. musl libc as an example also assumes this. We implement scalbn as an alias for ldexp, since ldexp is defined as 2 regardless of the float radix. This is opposite to musl which defines scalbn in terms of ldexp. Closes #9799. | |||
