Module fxfs::round

source ·

Functions

  • Returns how many items of a given size are needed to contain a value.
  • Computes the rounded division of numerator / denominator.
  • Round offset down to the previous multiple of block_size.
  • Round offset up to next multiple of block_size. This function will fail if rounding up leads to an integer overflow.