| ... | @@ -244,7 +244,6 @@ pub const atan2 = @import("math/atan2.zig").atan2; | ... | @@ -244,7 +244,6 @@ pub const atan2 = @import("math/atan2.zig").atan2; |
| 244 | pub const hypot = @import("math/hypot.zig").hypot; | 244 | pub const hypot = @import("math/hypot.zig").hypot; |
| 245 | pub const expm1 = @import("math/expm1.zig").expm1; | 245 | pub const expm1 = @import("math/expm1.zig").expm1; |
| 246 | pub const ilogb = @import("math/ilogb.zig").ilogb; | 246 | pub const ilogb = @import("math/ilogb.zig").ilogb; |
| 247 | pub const ln = @import("math/ln.zig").ln; | | |
| 248 | pub const log = @import("math/log.zig").log; | 247 | pub const log = @import("math/log.zig").log; |
| 249 | pub const log2 = @import("math/log2.zig").log2; | 248 | pub const log2 = @import("math/log2.zig").log2; |
| 250 | pub const log10 = @import("math/log10.zig").log10; | 249 | pub const log10 = @import("math/log10.zig").log10; |
| ... | @@ -395,7 +394,6 @@ test { | ... | @@ -395,7 +394,6 @@ test { |
| 395 | _ = hypot; | 394 | _ = hypot; |
| 396 | _ = expm1; | 395 | _ = expm1; |
| 397 | _ = ilogb; | 396 | _ = ilogb; |
| 398 | _ = ln; | | |
| 399 | _ = log; | 397 | _ = log; |
| 400 | _ = log2; | 398 | _ = log2; |
| 401 | _ = log10; | 399 | _ = log10; |
| ... | @@ -438,6 +436,7 @@ pub const min = @compileError("deprecated; use @min instead"); | ... | @@ -438,6 +436,7 @@ pub const min = @compileError("deprecated; use @min instead"); |
| 438 | pub const max = @compileError("deprecated; use @max instead"); | 436 | pub const max = @compileError("deprecated; use @max instead"); |
| 439 | pub const min3 = @compileError("deprecated; use @min instead"); | 437 | pub const min3 = @compileError("deprecated; use @min instead"); |
| 440 | pub const max3 = @compileError("deprecated; use @max instead"); | 438 | pub const max3 = @compileError("deprecated; use @max instead"); |
| | 439 | pub const ln = @compileError("deprecated; use @log instead"); |
| 441 | | 440 | |
| 442 | /// Limit val to the inclusive range [lower, upper]. | 441 | /// Limit val to the inclusive range [lower, upper]. |
| 443 | pub fn clamp(val: anytype, lower: anytype, upper: anytype) @TypeOf(val, lower, upper) { | 442 | pub fn clamp(val: anytype, lower: anytype, upper: anytype) @TypeOf(val, lower, upper) { |