tor
0.4.0.1alpha

Go to the source code of this file.
Functions  
unsigned  round_to_next_multiple_of (unsigned number, unsigned divisor) 
uint32_t  round_uint32_to_next_multiple_of (uint32_t number, uint32_t divisor) 
uint64_t  round_uint64_to_next_multiple_of (uint64_t number, uint64_t divisor) 
static uint64_t  gcd64 (uint64_t a, uint64_t b) 
void  simplify_fraction64 (uint64_t *numer, uint64_t *denom) 
Integer math related to multiplication, division, and rounding.
Definition in file muldiv.c.
unsigned round_to_next_multiple_of  (  unsigned  number, 
unsigned  divisor  
) 
uint32_t round_uint32_to_next_multiple_of  (  uint32_t  number, 
uint32_t  divisor  
) 