12 #ifndef TOR_INTMATH_MULDIV_H
13 #define TOR_INTMATH_MULDIV_H
23 void simplify_fraction64(uint64_t *numer, uint64_t *denom);
28 #define CEIL_DIV(a,b) (((a)+((b)-1))/(b))
uint64_t tor_mul_u64_nowrap(uint64_t a, uint64_t b)
uint32_t round_uint32_to_next_multiple_of(uint32_t number, uint32_t divisor)
unsigned round_to_next_multiple_of(unsigned number, unsigned divisor)
uint64_t round_uint64_to_next_multiple_of(uint64_t number, uint64_t divisor)
Integer definitions used throughout Tor.