1FMIN(3)                    Linux Programmer's Manual                   FMIN(3)
2
3
4

NAME

6       fmin, fminf, fminl - determine minimum of two floating-point numbers
7

SYNOPSIS

9       #include <math.h>
10
11       double fmin(double x, double y);
12       float fminf(float x, float y);
13       long double fminl(long double x, long double y);
14
15       Link with -lm.
16
17   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
18
19       fmin(), fminf(), fminl():
20           _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L
21

DESCRIPTION

23       These functions return the lesser value of x and y.
24

RETURN VALUE

26       These functions return the minimum of x and y.
27
28       If one argument is a NaN, the other argument is returned.
29
30       If both arguments are NaN, a NaN is returned.
31

ERRORS

33       No errors occur.
34

VERSIONS

36       These functions first appeared in glibc in version 2.1.
37

ATTRIBUTES

39       For   an   explanation   of   the  terms  used  in  this  section,  see
40       attributes(7).
41
42       ┌─────────────────────────┬───────────────┬─────────┐
43Interface                Attribute     Value   
44       ├─────────────────────────┼───────────────┼─────────┤
45fmin(), fminf(), fminl() │ Thread safety │ MT-Safe │
46       └─────────────────────────┴───────────────┴─────────┘

CONFORMING TO

48       C99, POSIX.1-2001, POSIX.1-2008.
49

SEE ALSO

51       fdim(3), fmax(3)
52

COLOPHON

54       This page is part of release 5.04 of the Linux  man-pages  project.   A
55       description  of  the project, information about reporting bugs, and the
56       latest    version    of    this    page,    can     be     found     at
57       https://www.kernel.org/doc/man-pages/.
58
59
60
61                                  2017-09-15                           FMIN(3)
Impressum