~ubuntu-branches/ubuntu/precise/manpages-posix/precise

1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
1
.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 
2 by Francesco Paolo Lovergine
* Alligned to linux main manpages edition.
2
.TH "FMAX" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
1 by Francesco Paolo Lovergine
rules: linking manpages-posix not manpages.
3
.\" fmax 
4
.SH NAME
5
fmax, fmaxf, fmaxl \- determine maximum numeric value of two floating-point
6
numbers
7
.SH SYNOPSIS
8
.LP
9
\fB#include <math.h>
10
.br
11
.sp
12
double fmax(double\fP \fIx\fP\fB, double\fP \fIy\fP\fB);
13
.br
14
float fmaxf(float\fP \fIx\fP\fB, float\fP \fIy\fP\fB);
15
.br
16
long double fmaxl(long double\fP \fIx\fP\fB, long double\fP \fIy\fP\fB);
17
.br
18
\fP
19
.SH DESCRIPTION
20
.LP
21
These functions shall determine the maximum numeric value of their
22
arguments. NaN arguments shall be treated as missing data: if
23
one argument is a NaN and the other numeric, then these functions
24
shall choose the numeric value.
25
.SH RETURN VALUE
26
.LP
27
Upon successful completion, these functions shall return the maximum
28
numeric value of their arguments.
29
.LP
30
If just one argument is a NaN, the other argument shall be returned.
31
.LP
32
If
33
\fIx\fP and \fIy\fP are NaN, a NaN shall be returned. 
34
.SH ERRORS
35
.LP
36
No errors are defined.
37
.LP
38
\fIThe following sections are informative.\fP
39
.SH EXAMPLES
40
.LP
41
None.
42
.SH APPLICATION USAGE
43
.LP
44
None.
45
.SH RATIONALE
46
.LP
47
None.
48
.SH FUTURE DIRECTIONS
49
.LP
50
None.
51
.SH SEE ALSO
52
.LP
53
\fIfdim\fP() , \fIfmin\fP() , the Base Definitions volume of
54
IEEE\ Std\ 1003.1-2001, \fI<math.h>\fP
55
.SH COPYRIGHT
56
Portions of this text are reprinted and reproduced in electronic form
57
from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
58
-- Portable Operating System Interface (POSIX), The Open Group Base
59
Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
60
Electrical and Electronics Engineers, Inc and The Open Group. In the
61
event of any discrepancy between this version and the original IEEE and
62
The Open Group Standard, the original IEEE and The Open Group Standard
63
is the referee document. The original Standard can be obtained online at
64
http://www.opengroup.org/unix/online.html .