mirror of https://github.com/mkerrisk/man-pages
26 lines
571 B
Groff
26 lines
571 B
Groff
.\" 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
|
|
Return the larger value of
|
|
.I x
|
|
and
|
|
.IR y .
|
|
.SH "CONFORMING TO"
|
|
C99
|
|
.SH "SEE ALSO"
|
|
.BR fmin (3)
|