VMS Help  —  CPML  nextafter()
    Interface

      F_TYPE nextafter (F_TYPE x, F_TYPE y)

1  –  Description

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

                           Entry-Point Names

    Generic                                       Compaq
    Function   Data Type                          Tru64 UNIX
    Name       Required    OpenVMS Alpha          Alpha

    nextafter  S_FLOAT     math$nextafter_s       nextafterf
               T_FLOAT     math$nextafter_t       nextafter
               X_FLOAT     math$nextafter_x       nextafterl
               F_FLOAT     math$nextafter_f
               G_FLOAT     math$nextafter_g

2  –  Exceptions

    Exceptional Argument            Routine Behavior

    x = max_float and y =           Overflow
    +infinity
    x = -max_float and y = -        Overflow
    infinity
    x = min_float and y is less     Underflow
    than or equal to 0
    x = -min_float and y is         Underflow
    greater than or equal to 0
Close Help