[Contents] [Previous Section] [Next Section] [Index]


nextafter-Next Machine Number After

Interface

F_TYPE nextafter (F_TYPE x, F_TYPE y)

Description

nextafter() returns the machine-representable number next to x in the direction y.

Exceptions


Exceptional Argument                 Routine Behavior

x = max_float and y = +infinity      Overflow

x = -max_float and y = -infinity     Overflow

x = min_float and y is less than or  Underflow
equal to 0

x = -min_float and y is greater      Underflow
than or equal to 0



See Also

ANSI/IEEE Std 754-1985, IEEE Standard for Binary Floating-Point Arithmetic


[Contents] [Previous Section] [Next Section] [Index]