Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

max

Returns the maximum of two fixed-point values.

Arguments

  • a - First value to compare
  • b - Second value to compare

Returns

The larger of the two values

Fully qualified path: cairo_fp::f128::math::comp::max

fn max(a: Fixed, b: Fixed) -> Fixed