Command:

FMIN(3) Linux Programmer's Manual FMIN(3)NAMEfmin, fminf, fminl - determine minimum of two floating-point numbersSYNOPSIS#include<math.h>doublefmin(doublex,doubley);floatfminf(floatx,floaty);longdoublefminl(longdoublex,longdoubley);Link with-lm. Feature Test Macro Requirements for glibc (see feature_test_macros(7)):fmin(),fminf(),fminl(): _XOPEN_SOURCE >= 600 || _ISOC99_SOURCE; orcc-std=c99DESCRIPTIONThese functions the lesser value ofxandy.RETURNVALUEThese functions return the minimum ofxandy. If one argument is a NaN, the other argument is returned. If both arguments are NaN, a NaN is returned.ERRORSNo errors occur.VERSIONSThese functions first appeared in glibc in version 2.1.CONFORMINGTOC99, POSIX.1-2001.SEEALSOfmax(3)COLOPHONThis page is part of release 3.22 of the Linuxman-pagesproject. A description of the project, and informa- tion about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. 2008-08-11 FMIN(3)