diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-30 09:37:09 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-10-30 09:37:09 +0000 |
| commit | 074a8d7df5e024117d7f91944ccf053cad27ca0e (patch) | |
| tree | e926f54f21ce744a57b3335cbb71a70a578f9eeb /base | |
| parent | 0972690e14f1b7426e2c87bc2dd0152408657ff4 (diff) | |
`constant_truncate` -> `constant_trunc` to be consistent with other intrinsics
Diffstat (limited to 'base')
| -rw-r--r-- | base/intrinsics/intrinsics.odin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/intrinsics/intrinsics.odin b/base/intrinsics/intrinsics.odin index 0274eb731..d34519f63 100644 --- a/base/intrinsics/intrinsics.odin +++ b/base/intrinsics/intrinsics.odin @@ -244,10 +244,10 @@ constant_utf16_cstring :: proc($literal: string) -> [^]u16 --- constant_log2 :: proc($v: $T) -> T where type_is_integer(T) --- -constant_floor :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- -constant_truncate :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- -constant_ceil :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- -constant_round :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- +constant_floor :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- +constant_trunc :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- +constant_ceil :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- +constant_round :: proc($v: $T) -> T where type_is_integer(T) || type_is_float(T) --- // SIMD related simd_add :: proc(a, b: #simd[N]T) -> #simd[N]T --- |