MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Mathematical Library Functions                           fmin(3M)



NAME
     fmin, fminf, fminl - determine minimum numeric value of  two
     floating-point numbers

SYNOPSIS
     c99 [ flag... ] file... -lm [ library... ]
     #include 

     double fmin(double x, double y);


     float fminf(float float x, float y);


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


DESCRIPTION
     These 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,  these  functions
     choose the numeric value.

RETURN VALUES
     Upon  successful  completion,  these  functions  return  the
     minimum numeric value of their arguments.


     If just one  argument  is  a  NaN,  the  other  argument  is
     returned.


     If x and y are NaN, a NaN is returned.

ERORS
     No errors are defined.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:















SunOS 5.11          Last change: 12 Jul 2006                    1






Mathematical Library Functions                           fmin(3M)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Standard                    
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     fdim(3M),  fmax(3M),  math.h(3HEAD),  attributes(5),   stan-
     dards(5)











































SunOS 5.11          Last change: 12 Jul 2006                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™