Skip to main content

fixpoint_unit_checked

Function fixpoint_unit_checked 

Source
pub fn fixpoint_unit_checked(float: f64, num: i64, den: i64) -> Result<i64, i64>
Expand description

fixpoint_unit that reports an i64 overflow as Err(sign) instead of wrapping the i128 product (the caller raises TeX’s arith_error).