2 ms·
I’d characterize JS as having moderately annoying numeric limitations rather than serious problems. Two that come mind: Not having 64 bit integers is a large a
by sa46 5y ago
I’d characterize JS as having moderately annoying numeric limitations rather than serious problems. Two that come mind:
Not having 64 bit integers is a large annoyance. There’s workarounds but none of them are especially ergonomic.
The expression n | 0 is a signed 32 bit int. The expression n >>> 0 is an unsigned 32 bit int.