zig/lib/std/math
Ian Johnson 3543f28320 std.math.big.int: fix shiftRight sign handling
Closes #21311

The sign of the result `r` needs to be initialized before the correction
`r.addScalar(r.toConst(), -1)`, or the intended end result could be off
by 2 (depending on the original sign of `r`).
2024-09-06 10:36:12 -07:00
..
big std.math.big.int: fix shiftRight sign handling 2024-09-06 10:36:12 -07:00
complex std.math.complex: fix cosh/tanh 2024-07-30 20:31:22 +12:00
acos.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
acosh.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
asin.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
asinh.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
atan2.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
atan.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
atanh.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
big.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
cbrt.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
complex.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
copysign.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
cosh.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
expm1.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
expo2.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
float.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
frexp.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
gamma.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
gcd.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
hypot.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
ilogb.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
isfinite.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
isinf.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
isnan.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
isnormal.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
iszero.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
ldexp.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
log1p.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
log2.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
log10.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
log_int.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
log.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
modf.zig std.math: rework modf 2024-03-29 09:33:57 +00:00
nextafter.zig std.math: rename make_f80 to F80.toFloat and break_f80 to F80.fromFloat 2024-09-02 00:10:22 +03:00
pow.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
powi.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
scalbn.zig Remove redundant test name prefixes now that test names are fully qualified 2024-02-26 15:18:31 -08:00
signbit.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
sinh.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00
sqrt.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
tanh.zig Change many test blocks to doctests/decltests 2024-02-26 15:18:31 -08:00