Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

comp

Comparison Functions (f64)

Basic comparison utilities for 32.32 fixed-point numbers.

Functions

  • max - Returns the larger of two values
  • min - Returns the smaller of two values

Fully qualified path: cairo_fp::f64::math::comp

Free functions

maxReturns the maximum of two fixed-point values.
minReturns the minimum of two fixed-point values.