zig/lib/std/math
Alex Rønne Petersen c9e67e71c1
std.Target: Replace isARM() with isArmOrThumb() and rename it to isArm().
The old isARM() function was a portability trap. With the name it had, it seemed
like the obviously correct function to use, but it didn't include Thumb. In the
vast majority of cases where someone wants to ask "is the target Arm?", Thumb
*should* be included.

There are exactly 3 cases in the codebase where we do actually need to exclude
Thumb, although one of those is in Aro and mirrors a check in Clang that is
itself likely a bug. These rare cases can just add an extra isThumb() check.
2024-11-03 09:29:30 +01:00
..
big Remove packed_int_array usage from WasmPageAllocator and BigInt 2024-10-12 12:55:35 +02: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
atan.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
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
float.zig std.math: Re-enable snan() test. 2024-10-02 04:08:24 +02:00
frexp.zig std: update std.builtin.Type fields to follow naming conventions 2024-08-28 08:39:59 +01:00
gamma.zig std.Target: Replace isARM() with isArmOrThumb() and rename it to isArm(). 2024-11-03 09:29:30 +01:00
gcd.zig std.math: change gcd's implementation to use Stein's algorithm instead of Euclid's (#21077) 2024-09-23 17:15:57 -07: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 std.Target: Replace isARM() with isArmOrThumb() and rename it to isArm(). 2024-11-03 09:29:30 +01: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
log.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
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