OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man3 / fmin.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
3 .\"     <mtk.manpages@gmail.com>
4 .\" Distributed under GPL
5 .\"
6 .\"*******************************************************************
7 .\"
8 .\" This file was generated with po4a. Translate the source file.
9 .\"
10 .\"*******************************************************************
11 .TH FMIN 3 2010\-09\-20 "" "Linux Programmer's Manual"
12 .SH 名前
13 fmin, fminf, fminl \- 二つの浮動小数点数の最小値を求める
14 .SH 書式
15 \fB#include <math.h>\fP
16 .sp
17 \fBdouble fmin(double \fP\fIx\fP\fB, double \fP\fIy\fP\fB);\fP
18 .br
19 \fBfloat fminf(float \fP\fIx\fP\fB, float \fP\fIy\fP\fB);\fP
20 .br
21 \fBlong double fminl(long double \fP\fIx\fP\fB, long double \fP\fIy\fP\fB);\fP
22 .sp
23 \fI\-lm\fP でリンクする。
24 .sp
25 .in -4n
26 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
27 .in
28 .sp
29 .ad l
30 \fBfmin\fP(), \fBfminf\fP(), \fBfminl\fP():
31 .RS 4
32 _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
33 .br
34 or \fIcc\ \-std=c99\fP
35 .RE
36 .ad
37 .SH 説明
38 これらの関数は \fIx\fP と \fIy\fP のうち小さい方の値を返す。
39 .SH 返り値
40 これらの関数は \fIx\fP と \fIy\fP の最小値を返す。
41
42 一方の引き数が NaN の場合、もう一方の値が返される。
43
44 両方の引き数が NaN の場合、NaN が返される。
45 .SH エラー
46 エラーは発生しない。
47 .SH バージョン
48 これらの関数は glibc バージョン 2.1 で初めて登場した。
49 .SH 準拠
50 C99, POSIX.1\-2001.
51 .SH 関連項目
52 \fBfmax\fP(3)