Comment by mbac32768
2 months ago
> (e.g. the lack of native 64-bit integers that MrMacCall mentioned.
They exist, I think you just mean `int` is 63-bit and you need to use operators specialized `Int64.t` for the full precision.
2 months ago
> (e.g. the lack of native 64-bit integers that MrMacCall mentioned.
They exist, I think you just mean `int` is 63-bit and you need to use operators specialized `Int64.t` for the full precision.
How can you access the full 64 bits if "one bit is reserved for the OCaml runtime"? (the link is in the my original post's thread)
The usual int type is 63 bits. You can get a full 64 bit int, it just isn't the default.
The docs say, "one bit is reserved for the OCaml runtime", so doesn't that mean that one of the bits (likely the high bit) are unavailable for the programmer's use?
I mean, I understand "reserved" to mean either "you can't depend upon it if you use it", or "it will break the runtime if you use it".
14 replies →