From 2fe7b06f3df06b7a442ffc3d9b951c5d52a11a24 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 5 Oct 2021 12:32:26 -0700 Subject: add support for f128 `@mulAdd` std: add f128 implementations of fma, frexp, and ilogb. Expose `fmal` in zig's freestanding libc. This makes `@mulAdd` work correctly for f128. Fixes a CI regression from yesterday, where I added a usage of f128 `@mulAdd` into the self-hosted compiler. --- lib/std/math.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/std/math.zig') diff --git a/lib/std/math.zig b/lib/std/math.zig index d913265bde..0f3a22d2b1 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -229,8 +229,7 @@ pub const floor = @import("math/floor.zig").floor; pub const trunc = @import("math/trunc.zig").trunc; pub const round = @import("math/round.zig").round; pub const frexp = @import("math/frexp.zig").frexp; -pub const frexp32_result = @import("math/frexp.zig").frexp32_result; -pub const frexp64_result = @import("math/frexp.zig").frexp64_result; +pub const Frexp = @import("math/frexp.zig").Frexp; pub const modf = @import("math/modf.zig").modf; pub const modf32_result = @import("math/modf.zig").modf32_result; pub const modf64_result = @import("math/modf.zig").modf64_result; -- cgit v1.2.3