HELPLIB.HLB  —  CRTL  fmin
    Returns the minimum numeric value of its arguments.

    This function is supported on OpenVMS Integrity servers and
    Alpha only.

    Format

      #include  <math.h>

      double fmin  (double x, double y);

      float fminf  (float x, float y);

      long double fminl  (long double x, long double y);

1  –  Argument

 x

    A real value.

 y

    A real value.

2  –  Description

    The fmin functions determine the minimum numeric value of their
    arguments. NaN arguments are treated as missing data: if one
    argument is a NaN and the other numeric, then the numeric value
    is returned.

3  –  Return Values

    n                  Upon success, the minimum numeric value of the
                       arguments. If just one argument is a NaN, the
                       other argument is returned.
    NaN                Both x and y are NaNs.
Close Help