1fmin(3M)                Mathematical Library Functions                fmin(3M)
2
3
4

NAME

6       fmin,  fminf,  fminl - determine minimum numeric value of two floating-
7       point numbers
8

SYNOPSIS

10       c99 [ flag... ] file... -lm [ library... ]
11       #include <math.h>
12
13       double fmin(double x, double y);
14
15
16       float fminf(float float x, float y);
17
18
19       long double fminl(long double x, long double y);
20
21

DESCRIPTION

23       These functions determine the minimum numeric value of their arguments.
24       NaN arguments are treated as missing data: if one argument is a NaN and
25       the other numeric, these functions choose the numeric value.
26

RETURN VALUES

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

ERRORS

38       No errors are defined.
39

ATTRIBUTES

41       See attributes(5) for descriptions of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Interface Stability          │Standard                     │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │MT-Level                     │MT-Safe                      │
52       └─────────────────────────────┴─────────────────────────────┘
53

SEE ALSO

55       fdim(3M), fmax(3M), math.h(3HEAD), attributes(5), standards(5)
56
57
58
59SunOS 5.11                        12 Jul 2006                         fmin(3M)
Impressum