summaryrefslogtreecommitdiff
path: root/man3/fmax.3
blob: 40af8fc8426bddab734da40428fb793609ceca56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
.TH FMAX 3 2002-07-28 "" "Linux Programmer's Manual"
.SH NAME
fmax, fmaxf, fmaxl \- find maximum value
.SH SYNOPSIS
.B #include <math.h>
.sp
.BI "double fmax(double " x ", double " y );
.br
.BI "float fmaxf(float " x ", float " y );
.br
.BI "long double fmaxl(long double " x ", long double " y );
.sp
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
.SH DESCRIPTION
Find the larger value of x and y.
.SH "CONFORMING TO"
C99
.SH "SEE ALSO"
.BR fmin (3)