aboutsummaryrefslogtreecommitdiff
path: root/std/math/cbrt.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-12-22 13:14:07 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-12-22 13:14:07 -0500
commite44a11341d21a14441c5607efa04b9c1be9baf5a (patch)
treee7e99f962ae1cda44b0fd8ec27a1e37ea933a918 /std/math/cbrt.zig
parent0e7fb69bea4d2b50ab352b71de87a563b57a645a (diff)
downloadzig-e44a11341d21a14441c5607efa04b9c1be9baf5a.tar.gz
zig-e44a11341d21a14441c5607efa04b9c1be9baf5a.zip
std.math: remove unnecessary inline calls and
workaround windows 32 bit test failure See #537
Diffstat (limited to 'std/math/cbrt.zig')
-rw-r--r--std/math/cbrt.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/math/cbrt.zig b/std/math/cbrt.zig
index ff353655b5..a8df75dff2 100644
--- a/std/math/cbrt.zig
+++ b/std/math/cbrt.zig
@@ -10,8 +10,8 @@ const assert = @import("../debug.zig").assert;
pub fn cbrt(x: var) -> @typeOf(x) {
const T = @typeOf(x);
return switch (T) {
- f32 => @inlineCall(cbrt32, x),
- f64 => @inlineCall(cbrt64, x),
+ f32 => cbrt32(x),
+ f64 => cbrt64(x),
else => @compileError("cbrt not implemented for " ++ @typeName(T)),
};
}