fmaxfmina
fmaxfmina is a hypothetical function described in some numerical libraries as a single-call operation that yields both the maximum and the minimum of two single-precision floating-point numbers. It is not part of the standard C math library and its existence depends on a particular library’s API design.
In typical designs, fmaxfmina would take two inputs, a and b, and return a pair of results:
NaN handling is a key consideration for any such function, given the IEEE 754 behavior of NaN
Rationale and use cases: combining max and min in a single call can reduce function-call overhead or
See also: fmaxf, fminf, IEEE 754 NaN handling, numerical library design.