.\"
.TH LROUND 3 2010-09-20 "" "Linux Programmer's Manual"
.\"O .SH NAME
-.SH ̾Á°
+.SH 名前
.\"O lround, lroundf, lroundl, llround, llroundf, llroundl \- round to
.\"O nearest integer, away from zero
lround, lroundf, lroundl, llround, llroundf, llroundl \-
-(0 ¤«¤é±ó¤¤Êý¤Î) ºÇ¤â¶á¤¤À°¿ôÃͤ˴ݤá¤ë
+(0 から遠い方の) 最も近い整数値に丸める
.\"O .SH SYNOPSIS
.nf
.B #include <math.h>
.fi
.sp
.\"O Link with \fI\-lm\fP.
-\fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
+\fI\-lm\fP でリンクする。
.sp
.in -4n
.\"O Feature Test Macro Requirements for glibc (see
.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
+glibc 向けの機能検査マクロの要件
.RB ( feature_test_macros (7)
-»²¾È):
+参照):
.in
.sp
.ad l
.\"O All functions shown above:
-¤³¤³¤ËµºÜ¤µ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î´Ø¿ô:
+ここに記載されている全ての関数:
.RS 4
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
_POSIX_C_SOURCE\ >=\ 200112L;
.RE
.ad
\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O These functions round their argument to the nearest integer value,
.\"O rounding away from zero,
.\"O regardless of the current rounding direction (see
.\"O .BR fenv (3)).
-¤³¤ì¤é¤Î´Ø¿ô¤ÏºÇ¤â¶á¤¤À°¿ô¤Ë°ú¤¿ô¤ò´Ý¤á¤ë¡£
-¸½ºß¤Î´Ý¤áÊý¸þ¤Ë´Ø·¸¤Ê¤¯¡¢
-0 ¤«¤é±ó¤¤Êý¤ÎºÇ¤â¶á¤¤À°¿ô¤Ë°ú¤¿ô¤Ï´Ý¤á¤é¤ì¤ë
-(¸½ºß¤Î´Ý¤áÊý¸þ¤Ë¤Ä¤¤¤Æ¤Ï
+これらの関数は最も近い整数に引き数を丸める。
+現在の丸め方向に関係なく、
+0 から遠い方の最も近い整数に引き数は丸められる
+(現在の丸め方向については
.BR fenv (3)
-»²¾È)¡£
+参照)。
.\"O Note that unlike
.\"O .BR round (3),
.\"O that of their arguments.
.BR round (3),
.BR ceil (3)
-¤Ê¤É¤È°ã¤¤¡¢¤³¤ì¤é¤Î´Ø¿ô¤ÎÊÖ¤êÃͤη¿¤Ï°ú¤¿ô¤Î·¿¤È°Û¤Ê¤ëÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£
+などと違い、これらの関数の返り値の型は引き数の型と異なる点に注意すること。
.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
+.SH 返り値
.\"O These functions return the rounded integer value.
-¤³¤ì¤é¤Î´Ø¿ô¤Ï´Ý¤á¤¿À°¿ôÃͤòÊÖ¤¹¡£
+これらの関数は丸めた整数値を返す。
.\"O If
.\"O .I x
.\"O functions)
.\"O then a domain error occurs, and the return value is unspecified.
.I x
-¤¬ NaN ¤«Ìµ¸ÂÂç¤Î¾ì¹ç¡¢¤â¤·¤¯¤Ï´Ý¤á¤¿Ãͤ¬Â礲᤮¤Æ
+が NaN か無限大の場合、もしくは丸めた値が大き過ぎて
.I long
.RB ( ll*
-´Ø¿ô¤Î¾ì¹ç¤Ë¤Ï
+関数の場合には
.IR "long long" )
-¤Ë³ÊǼ¤Ç¤¤Ê¤¤¾ì¹ç¡¢
-Îΰ襨¥é¡¼ (domain error) ¤¬È¯À¸¤·¡¢ÊÖ¤êÃͤÏÉÔÄê¤È¤Ê¤ë¡£
+に格納できない場合、
+領域エラー (domain error) が発生し、返り値は不定となる。
.\" The return value is -(LONG_MAX - 1) or -(LLONG_MAX -1)
.\"O .SH ERRORS
-.SH ¥¨¥é¡¼
+.SH ã\82¨ã\83©ã\83¼
.\"O See
.\"O .BR math_error (7)
.\"O for information on how to determine whether an error has occurred
.\"O when calling these functions.
-¤³¤ì¤é¤Î´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤¿ºÝ¤Ë¥¨¥é¡¼¤¬È¯À¸¤·¤¿¤«¤ÎȽÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤Î¾ðÊó¤Ï
+これらの関数を呼び出した際にエラーが発生したかの判定方法についての情報は
.BR math_error (7)
-¤ò»²¾È¤Î¤³¤È¡£
+を参照のこと。
.PP
.\"O The following errors can occur:
-°Ê²¼¤Î¥¨¥é¡¼¤¬È¯À¸¤¹¤ë²ÄǽÀ¤¬¤¢¤ë¡£
+以下のエラーが発生する可能性がある。
.TP
.\"O Domain error: \fIx\fP is a NaN or infinite, or the rounded value is too large
-Îΰ襨¥é¡¼ (domain error): \fIx\fP ¤¬ NaN ¤«Ìµ¸ÂÂç¡¢¤â¤·¤¯¤Ï´Ý¤á¤¿Ãͤ¬Â礲᤮¤ë
+領域エラー (domain error): \fIx\fP が NaN か無限大、もしくは丸めた値が大き過ぎる
.\" .I errno
.\" is set to
.\" .BR EDOM .
.\"O An invalid floating-point exception
.\"O .RB ( FE_INVALID )
.\"O is raised.
-ÉÔÀµ (invalid) ÉâÆ°¾®¿ôÅÀÎã³°
+不正 (invalid) 浮動小数点例外
.RB ( FE_INVALID )
-¤¬¾å¤¬¤ë¡£
+が上がる。
.PP
.\"O These functions do not set
.\"O .IR errno .
-¤³¤ì¤é¤Î´Ø¿ô¤Ï
+これらの関数は
.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
.\"O .SH VERSIONS
-.SH ¥Ð¡¼¥¸¥ç¥ó
+.SH バージョン
.\"O These functions first appeared in glibc in version 2.1.
-¤³¤ì¤é¤Î´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 ¤Ç½é¤á¤ÆÅо줷¤¿¡£
+これらの関数は glibc バージョン 2.1 で初めて登場した。
.\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
C99, POSIX.1-2001.
.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR ceil (3),
.BR floor (3),
.BR lrint (3),