1FMIN(3P)                   POSIX Programmer's Manual                  FMIN(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       fmin, fminf, fminl - determine minimum numeric value of  two  floating-
13       point numbers
14

SYNOPSIS

16       #include <math.h>
17
18       double fmin(double x, double y);
19       float fminf(float x, float y);
20       long double fminl(long double x, long double y);
21
22

DESCRIPTION

24       These  functions  shall  determine  the  minimum numeric value of their
25       arguments. NaN arguments shall be treated as missing data: if one argu‐
26       ment  is a NaN and the other numeric, then these functions shall choose
27       the numeric value.
28

RETURN VALUE

30       Upon successful completion, these functions shall  return  the  minimum
31       numeric value of their arguments.
32
33       If just one argument is a NaN, the other argument shall be returned.
34
35       If x and y are NaN, a NaN shall be returned.
36

ERRORS

38       No errors are defined.
39
40       The following sections are informative.
41

EXAMPLES

43       None.
44

APPLICATION USAGE

46       None.
47

RATIONALE

49       None.
50

FUTURE DIRECTIONS

52       None.
53

SEE ALSO

55       fdim(),  fmax(),  the  Base Definitions volume of IEEE Std 1003.1-2001,
56       <math.h>
57
59       Portions of this text are reprinted and reproduced in  electronic  form
60       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
61       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
62       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
63       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
64       event of any discrepancy between this version and the original IEEE and
65       The Open Group Standard, the original IEEE and The Open Group  Standard
66       is  the  referee document. The original Standard can be obtained online
67       at http://www.opengroup.org/unix/online.html .
68
69
70
71IEEE/The Open Group                  2003                             FMIN(3P)
Impressum