Name
fmin
Synopsis
Determines the lesser of two floating-point numbers
#include <math.h> doublefmin
( doublex
, doubley
); floatfminf
( floatx
, floaty
); long doublefminl
( long doublex
, long doubley
);
The fmin()
functions return
the value of the lesser argument.
Example
See the example for fmax()
.
Get C in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.