3.2.5 fplib C99 functions

fplib provides a number of routines that implement C99 functionality.

The following table describes these functions.

Table 3-4 fplib C99 functions

Function Argument types Return type Returns section Standard
`ilogb` `double` `int` Exponent of argument x 7.12.6.5
`ilogbf` `float` `int` Exponent of argument x 7.12.6.5
`ilogbl` `long double` `int` Exponent of argument x 7.12.6.5
`logb` `double` `double` Exponent of argument x 7.12.6.11
`logbf` `float` `float` Exponent of argument x 7.12.6.11
`logbl` `long double` `long double` Exponent of argument x 7.12.6.11
`scalbn` `double`, `int` `double` x * (`FLT_RADIX` ** n) 7.12.6.13
`scalbnf` `float`, `int` `float` x * (`FLT_RADIX` ** n) 7.12.6.13
`scalbnl` `long double`, `int` `long double` x * (`FLT_RADIX` ** n) 7.12.6.13
`scalbln` `double`, `long int` `double` x * (`FLT_RADIX` ** n) 7.12.6.13
`scalblnf` `float`, `long int` `float` x * (`FLT_RADIX` ** n) 7.12.6.13
`scalblnl` `long double`, ```long int``` `long double` x * (`FLT_RADIX` ** n) 7.12.6.13
`nextafter` 2 `double` `double` Next representable value after x towards y 7.12.11.3
`nextafterf` 2 `float` `float` Next representable value after x towards y 7.12.11.3
`nextafterl` 2 `long double` `long double` Next representable value after x towards y 7.12.11.3
`nexttoward` `double`, `long double` `double` Next representable value after x towards y 7.12.11.4
`nexttowardf` `float`, `long double` `float` Next representable value after x towards y 7.12.11.4
`nexttowardl` 2 `long double` `long double` Next representable value after x towards y 7.12.11.4