math.hypot: fix incorrect over/underflow behavior (#19472)

This commit is contained in:
expikr
2024-05-30 03:58:05 -06:00
committed by Andrew Kelley
parent ce9d2eda73
commit 0aeeff0d94
3 changed files with 114 additions and 145 deletions

View File

@@ -52,6 +52,7 @@ pub const floatTrueMin = @import("math/float.zig").floatTrueMin;
pub const floatMin = @import("math/float.zig").floatMin;
pub const floatMax = @import("math/float.zig").floatMax;
pub const floatEps = @import("math/float.zig").floatEps;
pub const floatEpsAt = @import("math/float.zig").floatEpsAt;
pub const inf = @import("math/float.zig").inf;
pub const nan = @import("math/float.zig").nan;
pub const snan = @import("math/float.zig").snan;