aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math.zig
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-10-27 14:50:39 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-11-09 00:55:43 -0700
commite72049bc61eedd2b7381b87b530428a83581cafe (patch)
tree304d5c71d9338e8150e516ecd6278e26cdc7e3e7 /lib/std/math.zig
parentb2ed2c4d4fcc91980118e875b753eb82c7061bb7 (diff)
downloadzig-e72049bc61eedd2b7381b87b530428a83581cafe.tar.gz
zig-e72049bc61eedd2b7381b87b530428a83581cafe.zip
std.math: Add isPositiveZero() and isNegativeZero()
Diffstat (limited to 'lib/std/math.zig')
-rw-r--r--lib/std/math.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig
index b18d5bc3ed..57471e2b03 100644
--- a/lib/std/math.zig
+++ b/lib/std/math.zig
@@ -222,6 +222,8 @@ pub const isFinite = @import("math/isfinite.zig").isFinite;
pub const isInf = @import("math/isinf.zig").isInf;
pub const isPositiveInf = @import("math/isinf.zig").isPositiveInf;
pub const isNegativeInf = @import("math/isinf.zig").isNegativeInf;
+pub const isPositiveZero = @import("math/iszero.zig").isPositiveZero;
+pub const isNegativeZero = @import("math/iszero.zig").isNegativeZero;
pub const isNormal = @import("math/isnormal.zig").isNormal;
pub const nextAfter = @import("math/nextafter.zig").nextAfter;
pub const signbit = @import("math/signbit.zig").signbit;