![]() |
![]()
| ![]() |
![]()
NAMEal_ftofix - Allegro 5 API SYNOPSIS
DESCRIPTIONConverts a floating point value to fixed point. Unlike al_itofix(3), this function clamps values which could overflow the type conversion, setting Allegro’s errno to ERANGE in the process if this happens. Example:
RETURN VALUEReturns the value of the floating point value converted to fixed point clamping overflows (and setting Allegro’s errno). SEE ALSOal_fixtof(3), al_itofix(3), al_fixtoi(3), al_get_errno(3)
|