aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/exp.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-10 11:13:39 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-10 11:13:39 -0500
commit9561e7c6b9fb2d9ebcbfd611196db698372ae7bd (patch)
tree6b4fd0751e80a9c4128756d59d3c0bfecd230498 /lib/std/math/exp.zig
parentcd4d638d10365e47bcb371119dcee22581355ac4 (diff)
parent30715560c829d5636734edf7eabff3ee4d170e5d (diff)
downloadzig-9561e7c6b9fb2d9ebcbfd611196db698372ae7bd.tar.gz
zig-9561e7c6b9fb2d9ebcbfd611196db698372ae7bd.zip
Merge branch 'Snektron-typeOf-to-TypeOf'
closes #3875 closes #1348
Diffstat (limited to 'lib/std/math/exp.zig')
-rw-r--r--lib/std/math/exp.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/math/exp.zig b/lib/std/math/exp.zig
index 986c35bf0d..da80b201c0 100644
--- a/lib/std/math/exp.zig
+++ b/lib/std/math/exp.zig
@@ -14,8 +14,8 @@ const builtin = @import("builtin");
/// Special Cases:
/// - exp(+inf) = +inf
/// - exp(nan) = nan
-pub fn exp(x: var) @typeOf(x) {
- const T = @typeOf(x);
+pub fn exp(x: var) @TypeOf(x) {
+ const T = @TypeOf(x);
return switch (T) {
f32 => exp32(x),
f64 => exp64(x),