Bytes | JS name | Java name | Range |
---|---|---|---|
1 | uint8 | - | 0 to 255 |
1 | int8 | byte | -128 to 127 |
2 | uint16 | char | 0 to 65,535 |
2 | int16 | short | -32,768 to 32,767 |
4 | uint32 | - | 0 to 4294967295 |
4 | int32 | int | -2147483648 to 2147483647 |
4 | float32 | float | -3.4028234663852886e+38 to 3.4028234663852886e+38 |
8 | float64 | double | |
8 | biguint64 | - | 0 to 18446744073709551615 |
8 | bigint64 | long | -9223372036854775808 to 9223372036854775807 |
Last active
February 19, 2019 18:39
-
-
Save SuperOP535/8fc99172664298bb31fae773a52f58b0 to your computer and use it in GitHub Desktop.
shut
ne
Where is unsigned long
?
Java and JS do not support that and I'd prefer not to add more languages.
EDIT: I forgot JS has bigunit64, added.
float32 has a length of 4 not 8
float32 min & max range: -3.4028234663852886e+38 to 3.4028234663852886e+38
thanks, fixed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gay