3 ms·
That works, but even in C I'd simply write this as (100 * 1000 * 1000 * 1000 * 1000), which is perfectly clear and no slower. (Or, rather, as ((uint64_t)100 *
by JoachimSchipper 11y ago
That works, but even in C I'd simply write this as (100 * 1000 * 1000 * 1000 * 1000), which is perfectly clear and no slower.
(Or, rather, as ((uint64_t)100 * 1000 * 1000 * 1000 * 1000), but you'll need to do something to prevent overflow in most languages, anyway.)