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>
5 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
6 .\" Distributed under GPL
9 .TH FMIN 3 2013-09-17 "" "Linux Programmer's Manual"
11 fmin, fminf, fminl \- determine minimum of two floating-point numbers
15 .BI "double fmin(double " x ", double " y );
17 .BI "float fminf(float " x ", float " y );
19 .BI "long double fminl(long double " x ", long double " y );
24 Feature Test Macro Requirements for glibc (see
25 .BR feature_test_macros (7)):
33 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
34 _POSIX_C_SOURCE\ >=\ 200112L;
41 These functions return the lesser value of
46 These functions return the minimum of
51 If one argument is a NaN, the other argument is returned.
53 If both arguments are NaN, a NaN is returned.
57 These functions first appeared in glibc in version 2.1.
59 .SS Multithreading (see pthreads(7))
65 functions are thread-safe.