OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / lround.3
index 03b50c7..bf61dc2 100644 (file)
@@ -2,6 +2,7 @@
 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
-.\" Japanese Version Copyright (c) 2001, 2005 Yuichi SATO
-.\"         all rights reserved.
-.\" Translated Sat Jul 14 11:21:46 JST 2001
-.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
-.\" Updated & Modified Sun Jan 16 06:26:19 JST 2005
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
-.\" Updated 2008-09-18, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
 .\"
-.TH LROUND 3  2010-09-20 "" "Linux Programmer's Manual"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH LROUND 3 2010\-09\-20 "" "Linux Programmer's Manual"
 .SH 名前
-lround, lroundf, lroundl, llround, llroundf, llroundl \-
-(0 から遠い方の) 最も近い整数値に丸める
+lround, lroundf, lroundl, llround, llroundf, llroundl \- (0 から遠い方の)
+最も近い整数値に丸める
+.SH 書式
 .nf
-.B #include <math.h>
+\fB#include <math.h>\fP
 .sp
-.BI "long int lround(double " x );
+\fBlong int lround(double \fP\fIx\fP\fB);\fP
 .br
-.BI "long int lroundf(float " x );
+\fBlong int lroundf(float \fP\fIx\fP\fB);\fP
 .br
-.BI "long int lroundl(long double " x );
+\fBlong int lroundl(long double \fP\fIx\fP\fB);\fP
 .sp
-.BI "long long int llround(double " x );
+\fBlong long int llround(double \fP\fIx\fP\fB);\fP
 .br
-.BI "long long int llroundf(float " x );
+\fBlong long int llroundf(float \fP\fIx\fP\fB);\fP
 .br
-.BI "long long int llroundl(long double " x );
+\fBlong long int llroundl(long double \fP\fIx\fP\fB);\fP
 .fi
 .sp
 \fI\-lm\fP でリンクする。
 .sp
 .in -4n
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
 .ad l
-ここに記載されている全ての関数:
+上記の全ての関数:
 .RS 4
-_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
-_POSIX_C_SOURCE\ >=\ 200112L;
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L;
 .br
-or
-.I cc\ -std=c99
+or \fIcc\ \-std=c99\fP
 .RE
 .ad
-\"O .SH DESCRIPTION
 .SH 説明
-これらの関数は最も近い整数に引き数を丸める。
-現在の丸め方向に関係なく、
-0 から遠い方の最も近い整数に引き数は丸められる
-(現在の丸め方向については
-.BR fenv (3)
-参照)。
+これらの関数は最も近い整数に引き数を丸める。 現在の丸め方向に関係なく、 0 から遠い方の最も近い整数に引き数は丸められる (現在の丸め方向については
+\fBfenv\fP(3)  参照)。
 
-.BR round (3),
-.BR ceil (3)
-などと違い、これらの関数の返り値の型は引き数の型と異なる点に注意すること。
+\fBround\fP(3), \fBceil\fP(3)  などと違い、これらの関数の返り値の型は引き数の型と異なる点に注意すること。
 .SH 返り値
 これらの関数は丸めた整数値を返す。
 
-.I x
-が NaN か無限大の場合、もしくは丸めた値が大き過ぎて
-.I long
-.RB ( ll*
-関数の場合には
-.IR "long long" )
-に格納できない場合、
-領域エラー (domain error) が発生し、返り値は不定となる。
 .\" The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
+\fIx\fP が NaN か無限大の場合、もしくは丸めた値が大き過ぎて \fIlong\fP (\fBll*\fP 関数の場合には \fIlong long\fP)
+に格納できない場合、 領域エラー (domain error) が発生し、返り値は不定となる。
 .SH エラー
-これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
-.BR math_error (7)
-を参照のこと。
+これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は \fBmath_error\fP(7)  を参照のこと。
 .PP
 以下のエラーが発生する可能性がある。
-.TP
+.TP 
 領域エラー (domain error): \fIx\fP が NaN か無限大、もしくは丸めた値が大き過ぎる
 .\" .I errno
 .\" is set to
 .\" .BR EDOM .
-不正 (invalid) 浮動小数点例外
-.RB ( FE_INVALID )
-が上がる。
+不正 (invalid) 浮動小数点例外 (\fBFE_INVALID\fP)  が上がる。
 .PP
-これらの関数は
-.I errno
-を設定しない。
 .\" FIXME . Is it intentional that these functions do not set errno?
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6797
+これらの関数は \fIerrno\fP を設定しない。
 .SH バージョン
 これらの関数は glibc バージョン 2.1 で初めて登場した。
 .SH 準拠
-C99, POSIX.1-2001.
+C99, POSIX.1\-2001.
 .SH 関連項目
-.BR ceil (3),
-.BR floor (3),
-.BR lrint (3),
-.BR nearbyint (3),
-.BR rint (3),
-.BR round (3)
+\fBceil\fP(3), \fBfloor\fP(3), \fBlrint\fP(3), \fBnearbyint\fP(3), \fBrint\fP(3),
+\fBround\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。