Skip to main content

imaxdiv

Function imaxdiv 

Source
#[unsafe(no_mangle)]
pub extern "C" fn imaxdiv( numer: intmax_t, denom: intmax_t, ) -> imaxdiv_t
Expand description

See https://pubs.opengroup.org/onlinepubs/9799919799/functions/imaxdiv.html.

Computes numer / denom and numer % denom in a single operation.

Returns the struct imaxdiv_t, comprising both the quotient and remainder.