group/pintos/src/threads/fixed-point.h
/* Returns X truncated down to the nearest integer. */
Returns X truncated down to the nearest integer.
Returns X truncated down to the nearest integer .
static inline int
fix_trunc (fixed_point_t x)
{
  return x.f / FIX_F;
}
static inline int fix_trunc ( fixed_point_t x ) { return x . f / FIX_F ; }
Returns X truncated down to the nearest integer.
Returns X truncated down to the nearest integer .