diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-19 12:57:58 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-19 12:57:58 -0400 |
| commit | 15301504e2a0f46a482f4d73abe482bd1eb63357 (patch) | |
| tree | f4714b1f248f338a4941ae41ff119796c6ba5873 /std | |
| parent | 5eeef1f5ed5912d03bb8e744c6618734073af2ed (diff) | |
| parent | 0ab7cfa023416f2cea22d7b5db1121c938560757 (diff) | |
| download | zig-15301504e2a0f46a482f4d73abe482bd1eb63357.tar.gz zig-15301504e2a0f46a482f4d73abe482bd1eb63357.zip | |
Merge remote-tracking branch 'origin/llvm7'
Diffstat (limited to 'std')
| -rw-r--r-- | std/math/isnan.zig | 4 | ||||
| -rw-r--r-- | std/math/log1p.zig | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/std/math/isnan.zig b/std/math/isnan.zig index ef3002d8e1..e05c1428b0 100644 --- a/std/math/isnan.zig +++ b/std/math/isnan.zig @@ -23,8 +23,8 @@ pub fn isNan(x: var) bool { } } -// Note: A signalling nan is identical to a standard right now by may have a different bit -// representation in the future when required. +/// Note: A signalling nan is identical to a standard nan right now but may have a different bit +/// representation in the future when required. pub fn isSignalNan(x: var) bool { return isNan(x); } diff --git a/std/math/log1p.zig b/std/math/log1p.zig index 7d3be6bb49..903fceac05 100644 --- a/std/math/log1p.zig +++ b/std/math/log1p.zig @@ -6,6 +6,7 @@ // - log1p(x) = nan if x < -1 // - log1p(nan) = nan +const builtin = @import("builtin"); const std = @import("../index.zig"); const math = std.math; const assert = std.debug.assert; |
