LongGenerated
Category: Types
A 64-bit integer.
Syntax
Section titled “Syntax”LongDescription
Section titled “Description”A 64-bit integer.
Builtins that take this type
Section titled “Builtins that take this type”| Returns | Function | Category |
|---|---|---|
Long |
abs(x: Long) |
math |
Long |
add_wrap(a: Long, b: Long) |
math |
Long |
clamp(x: Long, low: Long, high: Long) |
math |
LVec2 |
clamp(x: LVec2, low: Long, high: Long) |
math |
LVec3 |
clamp(x: LVec3, low: Long, high: Long) |
math |
Double |
double(x: Long) |
conversion |
Float |
float(x: Long) |
conversion |
Int |
int(x: Long) |
conversion |
Long |
long(x: Float) |
conversion |
Long |
long(x: Int) |
conversion |
Long |
long(x: Bool) |
conversion |
Long |
long(x: Double) |
conversion |
LVec2 |
lvec2(x: Long, y: Long) |
construction |
LVec3 |
lvec3(x: Long, y: Long, z: Long) |
construction |
LVec3 |
lvec3(xy: LVec2, z: Long) |
construction |
Long |
max(a: Long, b: Long) |
math |
LVec2 |
max(a: LVec2, b: Long) |
math |
LVec3 |
max(a: LVec3, b: Long) |
math |
Long |
min(a: Long, b: Long) |
math |
LVec2 |
min(a: LVec2, b: Long) |
math |
LVec3 |
min(a: LVec3, b: Long) |
math |
Long |
mul_wrap(a: Long, b: Long) |
math |
Long |
sign(x: Long) |
math |
Long |
sub_wrap(a: Long, b: Long) |
math |

