1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\" <mtk.manpages@gmail.com>
4 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
5 .\" Distributed under GPL
8 .TH FMIN 3 2010-09-20 "" "Linux Programmer's Manual"
10 fmin, fminf, fminl \- determine minimum of two floating-point numbers
14 .BI "double fmin(double " x ", double " y );
16 .BI "float fminf(float " x ", float " y );
18 .BI "long double fminl(long double " x ", long double " y );
23 Feature Test Macro Requirements for glibc (see
24 .BR feature_test_macros (7)):
32 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
33 _POSIX_C_SOURCE\ >=\ 200112L;
40 These functions the lesser value of
45 These functions return the minimum of
50 If one argument is a NaN, the other argument is returned.
52 If both arguments are NaN, a NaN is returned.
56 These functions first appeared in glibc in version 2.1.