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 .\" Distributed under GPL
6 .TH FMIN 3 2010-09-20 "" "Linux Programmer's Manual"
8 fmin, fminf, fminl \- determine minimum of two floating-point numbers
12 .BI "double fmin(double " x ", double " y );
14 .BI "float fminf(float " x ", float " y );
16 .BI "long double fminl(long double " x ", long double " y );
21 Feature Test Macro Requirements for glibc (see
22 .BR feature_test_macros (7)):
30 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
31 _POSIX_C_SOURCE\ >=\ 200112L;
38 These functions the lesser value of
43 These functions return the minimum of
48 If one argument is a NaN, the other argument is returned.
50 If both arguments are NaN, a NaN is returned.
54 These functions first appeared in glibc in version 2.1.