Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

comp

Comparison Functions

Basic comparison utilities for fixed-point numbers.

Functions

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

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

Free functions

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