Unix and Linux Discussions Tagged with numeric |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
2,655 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
2,350 |
Shell Programming and Scripting |
|
|
|
4 |
2,805 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
3,057 |
Shell Programming and Scripting |
|
|
|
2 |
4,362 |
Shell Programming and Scripting |
|
|
|
2 |
10,149 |
Shell Programming and Scripting |
|
|
|
5 |
58,798 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
4,344 |
Shell Programming and Scripting |
|
|
|
4 |
16,517 |
Shell Programming and Scripting |
|
|
|
2 |
4,386 |
Shell Programming and Scripting |
|
|
|
7 |
10,444 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,359 |
Shell Programming and Scripting |
|
|
|
1 |
2,625 |
Shell Programming and Scripting |
|
|
|
2 |
2,918 |
Shell Programming and Scripting |
|
|
|
7 |
5,316 |
Shell Programming and Scripting |
|
|
|
10 |
3,965 |
Shell Programming and Scripting |
|
|
|
5 |
14,145 |
Solaris |
|
|
|
3 |
7,074 |
Shell Programming and Scripting |
|
|
|
7 |
8,329 |
Shell Programming and Scripting |
|
|
|
3 |
7,891 |
Shell Programming and Scripting |
|
|
|
2 |
7,499 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,940 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,227 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,840 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,031 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,368 |
UNIX for Dummies Questions & Answers |
fmax(3M) Mathematical Library Functions fmax(3M)
NAME
fmax, fmaxf, fmaxl - determine maximum numeric value of two floating-point numbers
SYNOPSIS
cc [ flag... ] file... -lm [ library... ]
#include <math.h>
double fmax(double x, double y);
float fmaxf(float x, float y);
long double fmaxl(long double x, long double y);
DESCRIPTION
These functions determine the maximum numeric value of their arguments. NaN arguments are treated as missing data: if one argument is a NaN
and the other numeric, these functions choose the numeric value.
RETURN VALUES
Upon successful completion, these functions return the maximum numeric value of their arguments.
If just one argument is a NaN, the other argument is returned.
If x and y are NaN, a NaN is returned.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
fdim(3M), fmin(3M), math.h(3HEAD), attributes(5), standards(5)
SunOS 5.10 1 Sep 2002 fmax(3M)