From b0608409bbfd61d00f1ceb12b69e29fde96e5dce Mon Sep 17 00:00:00 2001 From: Shun Sakai Date: Wed, 5 Nov 2025 20:08:43 +0900 Subject: [PATCH] docs: Add doc comments to `std.math.isNan` --- lib/std/math/isnan.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/math/isnan.zig b/lib/std/math/isnan.zig index b3de93597a..1c5b119591 100644 --- a/lib/std/math/isnan.zig +++ b/lib/std/math/isnan.zig @@ -4,6 +4,7 @@ const math = std.math; const meta = std.meta; const expect = std.testing.expect; +/// Returns whether x is a NaN, ignoring sign. pub fn isNan(x: anytype) bool { return x != x; }