Open DrSensor opened 1 year ago
@allocate
💡 Tip: see AssemblyScript portable standard library
u8
u8c
i8
i8c
u16
u16c
i16
i16c
u32
u32c
i32
i32c
f32
f32c
u64
i64
f64
Note @spawn(number, u8c) will use Uint8ClampedArray as the backed array
@spawn(number, u8c)
exactly similar to Go can be used as multiplier assume the target multiplier is in millisecond
exactly similar to Go
us
ns
ms
s
m
h
d
w
mo
yr
GHz
MHz
kHz
fps
Hz
mHz
uHz
nHz
pHz
Sized types
Traits
@allocate
decoratorTypes
u8
u8c
i8
i8c
u16
u16c
i16
i16c
u32
u32c
i32
i32c
f32
f32c
u64
i64
f64
Time types
Traits
Types
us
ns
ms
s
m
h
d
w
mo
yr
GHz
MHz
kHz
[fps
|Hz
]mHz
uHz
nHz
pHz