3 ms·
This crops up in Rust's std::time::Duration which has no concept of negative duration
by __s 10y ago
This crops up in Rust's std::time::Duration which has no concept of negative duration
- ioquatix 10y agoIf you think of time like a mathematical vector, the length of that vector can never be negative.. it's always >= 0.. sure, though, in 1D, encoding the direction of that vector as +ve or -ve is pretty convenient.