diff options
| author | Adam Goertz <adambgoertz@gmail.com> | 2023-07-29 02:55:25 +0000 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-08-02 12:00:14 -0700 |
| commit | 9e19969e09ffee8aca39f28a42d566cc62b479d6 (patch) | |
| tree | 794fd9d774e0ee7e7d3f6ad80d092697b045e86b /lib/std/math.zig | |
| parent | 4d7dd1689fb1e7344fa9e4ca80394369569d0379 (diff) | |
| download | zig-9e19969e09ffee8aca39f28a42d566cc62b479d6.tar.gz zig-9e19969e09ffee8aca39f28a42d566cc62b479d6.zip | |
Remove math.ln in favor of `@log`
Diffstat (limited to 'lib/std/math.zig')
| -rw-r--r-- | lib/std/math.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/math.zig b/lib/std/math.zig index 25ecd779e9..6d5faeb7ee 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -244,7 +244,6 @@ pub const atan2 = @import("math/atan2.zig").atan2; pub const hypot = @import("math/hypot.zig").hypot; pub const expm1 = @import("math/expm1.zig").expm1; pub const ilogb = @import("math/ilogb.zig").ilogb; -pub const ln = @import("math/ln.zig").ln; pub const log = @import("math/log.zig").log; pub const log2 = @import("math/log2.zig").log2; pub const log10 = @import("math/log10.zig").log10; @@ -395,7 +394,6 @@ test { _ = hypot; _ = expm1; _ = ilogb; - _ = ln; _ = log; _ = log2; _ = log10; @@ -438,6 +436,7 @@ pub const min = @compileError("deprecated; use @min instead"); pub const max = @compileError("deprecated; use @max instead"); pub const min3 = @compileError("deprecated; use @min instead"); pub const max3 = @compileError("deprecated; use @max instead"); +pub const ln = @compileError("deprecated; use @log instead"); /// Limit val to the inclusive range [lower, upper]. pub fn clamp(val: anytype, lower: anytype, upper: anytype) @TypeOf(val, lower, upper) { |
