4 ms·
Your problem demands a certain number of bits. Counting milliseconds in a month needs 32 bits. It's not just a random number.
by direwolf20 9mo ago
Your problem demands a certain number of bits. Counting milliseconds in a month needs 32 bits. It's not just a random number.
- 1718627440 9mo agoThen you use an integer type that has at 32-bits? uint32_fast_t for computation, uint32_least_t for storage, if you are resource constrained.
- direwolf20 9mo agoThis is never not the case. You always need to specify the number of bits.