OSDN Git Service

Update draft for LDP 3.67
[linuxjm/LDP_man-pages.git] / draft / man3 / fenv.3
index 38aa14a..a912ce7 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright (c) 2000 Andries Brouwer (aeb@cwi.nl)
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
 .\" GNU General Public License for more details.
 .\"
 .\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
 .\"
 .\" 2000-08-14 added GNU additions from Andreas Jaeger
 .\" 2000-12-05 some changes inspired by acahalan's remarks
 .\"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.\"
 .\" Japanese Version Copyright (c) 2000-2001 NAKANO Takeo
 .\" and Copyright (c) 2008 Akihiro MOTOKI.
 .\" Translated 2001-02-08, NAKANO Takeo <nakano@apm.seikei.ac.jp>
 .\" Updated 2005-02-26, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\" Updated 2008-09-16, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
 .\"
-.\"WORD:       (floating-point) exception      (ÉâÆ°¾®¿ôÅÀ) Îã³°
-.\"WORD:       rounding                        ´Ý¤á
-.\"WORD:       opaque                          ÆâÉô¤Î
-.\"
-.TH FENV 3  2008-08-11 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag,
-.\"O fetestexcept, fegetenv, fegetround, feholdexcept, fesetround,
-.\"O fesetenv, feupdateenv, feenableexcept, fedisableexcept,
-.\"O fegetexcept \- floating-point rounding and exception handling
+.TH FENV 3 2014\-04\-01 Linux "Linux Programmer's Manual"
+.SH 名前
 feclearexcept, fegetexceptflag, feraiseexcept, fesetexceptflag,
-fetestexcept, fegetenv, fegetround, feholdexcept, fesetround,
-fesetenv, feupdateenv, feenableexcept, fedisableexcept,
-fegetexcept \- ÉâÆ°¾®¿ôÅÀ¤Î´Ý¤á¤ÈÎã³°¤Î¼è¤ê°·¤¤
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+fetestexcept, fegetenv, fegetround, feholdexcept, fesetround, fesetenv,
+feupdateenv, feenableexcept, fedisableexcept, fegetexcept \- 浮動小数点の丸めと例外の取り扱い
+.SH 書式
 .nf
-.B #include <fenv.h>
+\fB#include <fenv.h>\fP
 .sp
-.BI "int feclearexcept(int " excepts );
+\fBint feclearexcept(int \fP\fIexcepts\fP\fB);\fP
 .br
-.BI "int fegetexceptflag(fexcept_t *" flagp ", int " excepts );
+\fBint fegetexceptflag(fexcept_t *\fP\fIflagp\fP\fB, int \fP\fIexcepts\fP\fB);\fP
 .br
-.BI "int feraiseexcept(int " excepts );
+\fBint feraiseexcept(int \fP\fIexcepts\fP\fB);\fP
 .br
-.BI "int fesetexceptflag(const fexcept_t *" flagp ", int " excepts );
+\fBint fesetexceptflag(const fexcept_t *\fP\fIflagp\fP\fB, int \fP\fIexcepts\fP\fB);\fP
 .br
-.BI "int fetestexcept(int " excepts );
+\fBint fetestexcept(int \fP\fIexcepts\fP\fB);\fP
 .sp
-.B "int fegetround(void);"
+\fBint fegetround(void);\fP
 .br
-.BI "int fesetround(int " rounding_mode );
+\fBint fesetround(int \fP\fIrounding_mode\fP\fB);\fP
 .sp
-.BI "int fegetenv(fenv_t *" envp );
+\fBint fegetenv(fenv_t *\fP\fIenvp\fP\fB);\fP
 .br
-.BI "int feholdexcept(fenv_t *" envp );
+\fBint feholdexcept(fenv_t *\fP\fIenvp\fP\fB);\fP
 .br
-.BI "int fesetenv(const fenv_t *" envp );
+\fBint fesetenv(const fenv_t *\fP\fIenvp\fP\fB);\fP
 .br
-.BI "int feupdateenv(const fenv_t *" envp );
+\fBint feupdateenv(const fenv_t *\fP\fIenvp\fP\fB);\fP
 .fi
 .sp
-.\"O Link with \fI\-lm\fP.
-\fI\-lm\fP ¤Ç¥ê¥ó¥¯¤¹¤ë¡£
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O These eleven functions were defined in C99, and describe the handling
-.\"O of floating-point rounding and exceptions (overflow, zero-divide etc.).
-¤³¤ì¤é¤Î 11 ¸Ä¤Î´Ø¿ô¤Ï C99 ¤ÇÄêµÁ¤µ¤ì¤Æ¤ª¤ê¡¢
-ÉâÆ°¾®¿ôÅÀ¤Î´Ý¤á¤ÈÎã³° (¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¡¢¥¼¥í¤Ë¤è¤ë½ü»»¤Ê¤É)
-¤Î¼è¤ê°·¤¤¤òµ¬Äꤹ¤ë¡£
-.\"O .SS Exceptions
-.SS Îã³°
-.\"O The
-.\"O .I divide-by-zero
-.\"O exception occurs when an operation on finite numbers
-.\"O produces infinity as exact answer.
-.I divide-by-zero
-Îã³°¤Ï¡¢Í­¸Â¤Î¿ôÃͤËÂФ¹¤ë±é»»¤¬¡¢
-̵¸ÂÂç¤ÎÅú¤¨¤òÀ¸À®¤¹¤ë¤è¤¦¤Ê¾ì¹ç¤Ëµ¯¤³¤ë¡£
-.LP
-.\"O The
-.\"O .I overflow
-.\"O exception occurs when a result has to be represented as a
-.\"O floating-point number, but has (much) larger absolute value than the
-.\"O largest (finite) floating-point number that is representable.
-.I overflow
-Îã³°¤Ï¡¢·ë²Ì¤¬ÉâÆ°¾®¿ôÅÀ¿ôÃͤÇɽµ­¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤Ë¡¢
-¤½¤ÎÀäÂÐÃͤ¬É½¸½²Äǽ¤ÊÉâÆ°¾®¿ôÅÀ¿ô¤Î (Í­¸Â¤Î) ºÇÂçÃͤè¤ê¤â
-(¤º¤Ã¤È) Â礭¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦¤è¤¦¤Ê¾ì¹ç¤Ëµ¯¤³¤ë¡£
-.LP
-.\"O The
-.\"O .I underflow
-.\"O exception occurs when a result has to be represented as a
-.\"O floating-point number, but has smaller absolute value than the smallest
-.\"O positive normalized floating-point number (and would lose much accuracy
-.\"O when represented as a denormalized number).
-.I underflow
-Îã³°¤Ï¡¢·ë²Ì¤¬ÉâÆ°¾®¿ôÅÀ¿ôÃͤÇɽµ­¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤Î¤Ë¡¢
-¤½¤ÎÀäÂÐÃͤ¬Àµ¤ÎÀµµ¬²½ÉâÆ°¾®¿ôÅÀ¿ô¤ÎºÇ¾®Ãͤè¤ê¤â
-¾®¤µ¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¦
-(¤½¤·¤Æ ÈóÀµµ¬²½¿ô¤Çɽ¸½¤·¤¿¾ì¹ç¤ËÈó¾ï¤ËÀºÅÙ¤ò¼º¤Ã¤Æ¤·¤Þ¤¦)
-¤è¤¦¤Ê¾ì¹ç¤Ëµ¯¤³¤ë¡£
-.LP
-.\"O The
-.\"O .I inexact
-.\"O exception occurs when the rounded result of an operation
-.\"O is not equal to the infinite precision result.
-.\"O It may occur whenever
-.\"O .I overflow
-.\"O or
-.\"O .I underflow
-.\"O occurs.
-.I inexact
-Îã³°¤Ï¡¢´Ý¤á¸å¤Î±é»»·ë²Ì¤¬¡¢
-̵¸ÂÀºÅ٤ηë²Ì¤È°Û¤Ê¤ë¤è¤¦¤Ê¾ì¹ç¤Ëµ¯¤³¤ë¡£
-.I overflow
-Îã³°¤«
-.I underflow
-Îã³°¤¬µ¯¤­¤¿¤È¤­¤Ë¤Ï¡¢¾ï¤Ë¤³¤ÎÎã³°¤âµ¯¤³¤ë¡£
-.LP
-.\"O The
-.\"O .I invalid
-.\"O exception occurs when there is no well-defined result
-.\"O for an operation, as for 0/0 or infinity \- infinity or sqrt(\-1).
-.I invalid
-Îã³°¤Ï¡¢±é»»·ë²Ì¤¬¤¦¤Þ¤¯ÄêµÁ¤Ç¤­¤Ê¤¤·ë²Ì¤òÀ¸¤¸¤ë¤è¤¦¤Ê¾ì¹ç¤Ëµ¯¤³¤ë¡£
-Î㤨¤Ð 0/0¡¢Ìµ¸ÂÂç \- Ìµ¸ÂÂç¡¢sqrt(\-1) ¤Ê¤É¡£
-.\"O .SS "Exception handling"
-.SS Îã³°½èÍý
-.\"O Exceptions are represented in two ways: as a single bit
-.\"O (exception present/absent), and these bits correspond in some
-.\"O implementation-defined way with bit positions in an integer,
-.\"O and also as an opaque structure that may contain more information
-.\"O about the exception (perhaps the code address where it occurred).
-Îã³°¤Îɽ¤·Êý¤Ë¤Ï 2 ¤Ä¤ÎÊýË¡¤¬¤¢¤ë¡£
-¤Ò¤È¤Ä¤Ï¡¢Ã±°ì¤Î¥Ó¥Ã¥È¤Ç (Îã³°¤¬¤¢¤Ã¤¿¤«¤Ê¤«¤Ã¤¿¤«¤ò) É½¤¹ÊýË¡¤Ç¡¢
-¤³¤ì¤é¤Î¥Ó¥Ã¥È¤ÏÀ°¿ô¤Î¤¢¤ë¥Ó¥Ã¥È°ÌÃÖ¤ËÂбþ¤·¡¢¥Ó¥Ã¥È¤ÎÂбþÉÕ¤±¤Ï
-¼ÂÁõ°Í¸¤Ç¤¢¤ë¡£¤â¤¦°ì¤Ä¤Ï¡¢ÆâÉô¹½Â¤ÂΤò»È¤Ã¤Æɽ¤¹ÊýË¡¤Ç¡¢
-¤³¤ÎÊýË¡¤ÎÊý¤¬Îã³°¤Ë´Ø¤¹¤ë¤è¤ê¿¤¯¤Î¾ðÊó
-(Î㤨¤ÐÎã³°¤¬µ¯¤³¤Ã¤¿¥³¡¼¥É¤Î¥¢¥É¥ì¥¹¤Ê¤É) ¤¬´Þ¤Þ¤ì¤ë¡£
-.LP
-.\"O Each of the macros
-.\"O .BR FE_DIVBYZERO ,
-.\"O .BR FE_INEXACT ,
-.\"O .BR FE_INVALID ,
-.\"O .BR FE_OVERFLOW ,
-.\"O .B FE_UNDERFLOW
-.\"O is defined when the implementation supports handling
-.\"O of the corresponding exception, and if so then
-.\"O defines the corresponding bit(s), so that one can call
-.\"O exception handling functions, for example, using the integer argument
-.\"O .BR FE_OVERFLOW | FE_UNDERFLOW .
-.\"O Other exceptions may be supported.
-.\"O The macro
-.\"O .B FE_ALL_EXCEPT
-.\"O is the bitwise OR of all bits corresponding to supported exceptions.
-.BR FE_DIVBYZERO ,
-.BR FE_INEXACT ,
-.BR FE_INVALID ,
-.BR FE_OVERFLOW ,
-.B FE_UNDERFLOW
-¤Î³Æ¥Þ¥¯¥í¤Ï¡¢¤½¤ì¤¾¤ìÂбþ¤¹¤ëÎã³°¤Î½èÍý¤ò
-¼ÂÁõ¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¤ËÄêµÁ¤µ¤ì¤ë¡£
-¤³¤Î¤È¤­Âбþ¤¹¤ë¥Ó¥Ã¥È¤ò¤½¤ì¤¾¤ìÄêµÁ¤¹¤ë¤³¤È¤Ë¤Ê¤ë¤Î¤Ç¡¢
-Îã³°½èÍý´Ø¿ô¤Î¸Æ¤Ó½Ð¤·¤ò¡¢Î㤨¤Ð
-.BR FE_OVERFLOW | FE_UNDERFLOW
-¤È¤¤¤¦À°¿ô¤Î°ú¤­¿ô¤òÍѤ¤¤Æ¹Ô¤¦¤³¤È¤¬¤Ç¤­¤ë¡£
-¾¤ÎÎã³°¤â¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
-.B FE_ALL_EXCEPT
-¥Þ¥¯¥í¤Ï¡¢¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ëÎã³°¤ËÂбþ¤¹¤ë¥Ó¥Ã¥È¤¬Á´¤Æ¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë
-(¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ëÎã³°Á´¤Æ¤ÎÏÀÍýϤǤ¢¤ë)¡£
+\fI\-lm\fP でリンクする。
+.SH 説明
+これらの 11 個の関数は C99 で定義されており、 浮動小数点の丸めと例外 (オーバーフロー、ゼロによる除算など)  の取り扱いを規定する。
+.SS 例外
+\fIdivide\-by\-zero\fP 例外は、有限の数値に対する演算が、 無限大の答えを生成するような場合に起こる。
+.LP
+\fIoverflow\fP 例外は、結果が浮動小数点数値で表記されなければならないのに、 その絶対値が表現可能な浮動小数点数の (有限の) 最大値よりも
+(ずっと) 大きくなってしまうような場合に起こる。
+.LP
+\fIunderflow\fP 例外は、結果が浮動小数点数値で表記されなければならないのに、 その絶対値が正の正規化浮動小数点数の最小値よりも
+小さくなってしまう (そして 非正規化数で表現した場合に非常に精度を失ってしまう)  ような場合に起こる。
+.LP
+\fIinexact\fP 例外は、丸め後の演算結果が、 無限精度の結果と異なるような場合に起こる。 \fIoverflow\fP 例外か \fIunderflow\fP
+例外が起きたときには、常にこの例外も起こる。
+.LP
+\fIinvalid\fP 例外は、演算結果がうまく定義できない結果を生じるような場合に起こる。 例えば 0/0、無限大 \- 無限大、sqrt(\-1) など。
+.SS 例外処理
+例外の表し方には 2 つの方法がある。 ひとつは、単一のビットで (例外があったかなかったかを) 表す方法で、
+これらのビットは整数のあるビット位置に対応し、ビットの対応付けは 実装依存である。もう一つは、内部構造体を使って表す方法で、
+この方法の方が例外に関するより多くの情報 (例えば例外が起こったコードのアドレスなど) が含まれる。
+.LP
+\fBFE_DIVBYZERO\fP, \fBFE_INEXACT\fP, \fBFE_INVALID\fP, \fBFE_OVERFLOW\fP,
+\fBFE_UNDERFLOW\fP の各マクロは、それぞれ対応する例外の処理を 実装がサポートしている場合に定義される。
+このとき対応するビットをそれぞれ定義することになるので、 例外処理関数の呼び出しを、例えば \fBFE_OVERFLOW\fP|\fBFE_UNDERFLOW\fP
+という整数の引き数を用いて行うことができる。 他の例外もサポートされているかもしれない。 \fBFE_ALL_EXCEPT\fP
+マクロは、サポートされている例外に対応するビットが全てセットされている (サポートされている例外全ての論理和である)。
 .PP
-.\"O The
-.\"O .BR feclearexcept ()
-.\"O function clears the supported exceptions represented by the bits
-.\"O in its argument.
-.BR feclearexcept ()
-´Ø¿ô¤Ï¡¢°ú¤­¿ô
-.I excepts
-¤Î¥Ó¥Ã¥ÈÎó¤Ç»ØÄꤵ¤ì¤¿Îã³°¤ò¥¯¥ê¥¢¤¹¤ë
-(½èÍý¤Ï¼ÂÁõ¤Ç¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ëÎã³°¤Ë¤Ä¤¤¤Æ¤Î¤ß¹Ô¤ï¤ì¤ë)¡£
+\fBfeclearexcept\fP()  関数は、引き数 \fIexcepts\fP のビット列で指定された例外をクリアする
+(処理は実装でサポートされている例外についてのみ行われる)。
 .LP
-.\"O The
-.\"O .BR fegetexceptflag ()
-.\"O function stores a representation of the state of the exception flags
-.\"O represented by the argument
-.\"O .I excepts
-.\"O in the opaque object
-.\"O .IR *flagp .
-.BR fegetexceptflag ()
-´Ø¿ô¤Ï¡¢°ú¤­¿ô
-.I excepts
-¤Ç»ØÄꤵ¤ì¤¿Îã³°¥Õ¥é¥°¤Î¾õÂÖ¤ò
-.I *flagp
-¤¬»Ø¤¹ÆâÉô¥ª¥Ö¥¸¥§¥¯¥È¤ËÊݸ¤¹¤ë¡£
+\fBfegetexceptflag\fP()  関数は、引き数 \fIexcepts\fP で指定された例外フラグの状態を \fI*flagp\fP
+が指す内部オブジェクトに保存する。
 .LP
-.\"O The
-.\"O .BR feraiseexcept ()
-.\"O function raises the supported exceptions represented by the bits in
-.\"O .IR excepts .
-.BR feraiseexcept ()
-´Ø¿ô¤Ï¡¢
-.I excepts
-¤Î¥Ó¥Ã¥ÈÎó¤Ç»ØÄꤵ¤ì¤¿Îã³°¤Î¤¦¤Á¡¢
-¼ÂÁõ¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤â¤Î¤òȯÀ¸¤µ¤»¤ë¡£
+\fBferaiseexcept\fP()  関数は、 \fIexcepts\fP のビット列で指定された例外のうち、 実装がサポートしているものを発生させる。
 .LP
-.\"O The
-.\"O .BR fesetexceptflag ()
-.\"O function sets the complete status for the exceptions represented by
-.\"O .I excepts
-.\"O to the value
-.\"O .IR *flagp .
-.\"O This value must have been obtained by an earlier call of
-.\"O .BR fegetexceptflag ()
-.\"O with a last argument that contained all bits in
-.\"O .IR excepts .
-.BR fesetexceptflag ()
-´Ø¿ô¤Ï¡¢
-.I excepts
-¤Ç»ØÄꤵ¤ì¤¿Îã³°¤ËÂбþ¤¹¤ë¥Õ¥é¥°¤Î¾õÂÖ¤ò
-.I *flagp
-¤ÎÃͤËÀßÄꤹ¤ë¡£
-.I *flagp
-¤ÎÃͤϡ¢¤³¤Î´Ø¿ô¤ò¸Æ¤ÖÁ°¤Ë
-.BR fegetexceptflag ()
-´Ø¿ô¤ò¸Æ¤Ó½Ð¤·¤Æ¼èÆÀ¤·¤Æ¤ª¤«¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤
-(¤³¤Î¤È¤­¡¢
-.BR fegetexceptflag ()
-¤ÎºÇ¸å¤Î°ú¤­¿ô¤Ë¤Ï¡¢
-.BR fesetexceptflag ()
-¤ËÅϤ¹
-.I excepts
-¤Î¤¹¤Ù¤Æ¤Î¥Ó¥Ã¥È¤ò´Þ¤àÃͤò»ØÄꤹ¤ë¤³¤È)¡£
+\fBfesetexceptflag\fP()  関数は、 \fIexcepts\fP で指定された例外に対応するフラグの状態を \fI*flagp\fP
+の値に設定する。 \fI*flagp\fP の値は、この関数を呼ぶ前に \fBfegetexceptflag\fP()
+関数を呼び出して取得しておかなければならない (このとき、 \fBfegetexceptflag\fP()  の最後の引き数には、
+\fBfesetexceptflag\fP()  に渡す \fIexcepts\fP のすべてのビットを含む値を指定すること)。
 .LP
-.\"O The
-.\"O .BR fetestexcept ()
-.\"O function returns a word in which the bits are set that were
-.\"O set in the argument
-.\"O .I excepts
-.\"O and for which the corresponding exception is currently set.
-.BR fetestexcept ()
-´Ø¿ô¤Ï¡¢
-.I excepts
-°ú¤­¿ô¤Ç¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤ë¥Ó¥Ã¥È¤Î¤¦¤Á¡¢
-¸½ºßÀßÄꤵ¤ì¤Æ¤¤¤ëÎã³°¤ËÂбþ¤¹¤ë¥Ó¥Ã¥È¤¬ 1 ¤Ë¤Ê¤Ã¤¿¥ï¡¼¥É¤òÊÖ¤¹¡£
-.\"O .SS Rounding mode
-.SS ´Ý¤á¥â¡¼¥É
-.\"O The rounding mode determines how the result of floating-point operations
-.\"O is treated when the result cannot be exactly represented in the significand.
-.\"O Various rounding modes may be provided:
-.\"O round to nearest (the default),
-.\"O round up (toward positive infinity),
-.\"O round down (toward negative infinity), and
-.\"O round toward zero.
-´Ý¤á¥â¡¼¥É¤Ï¡¢·ë²Ì¤¬²¾¿ôÉô¤À¤±¤ÇÀµ³Î¤Ëɽ¸½¤Ç¤­¤Ê¤¤ºÝ¤Ë¡¢
-ÉâÆ°¾®¿ôÅÀÁàºî¤Î·ë²Ì¤ò¤É¤Î¤è¤¦¤Ë°·¤¦¤«¤ò·è¤á¤ë¤â¤Î¤Ç¤¢¤ë¡£
-¤µ¤Þ¤¶¤Þ¤Ê´Ý¤á¥â¡¼¥É¤òÄ󶡤¹¤ë¤³¤È¤¬¤Ç¤­¤ë:
-ºÇ¤â¶á¤¤Ãͤ˴ݤá¤ë (¥Ç¥Õ¥©¥ë¥È)¡¢
-(Àµ¤Î̵¸ÂÂç¤Ë¸þ¤«¤Ã¤Æ) Â礭¤¯¤Ê¤ëÊý¸þ¤Ë´Ý¤á¤ë¡¢
-(Éé¤Î̵¸ÂÂç¤Ë¸þ¤«¤Ã¤Æ) ¾®¤µ¤¯¤Ê¤ëÊý¸þ¤Ë´Ý¤á¤ë¡¢
-0 ¤Ë¸þ¤±¤Æ´Ý¤á¤ë¡¢¤Ç¤¢¤ë¡£
+\fBfetestexcept\fP()  関数は、 \fIexcepts\fP 引き数でセットされているビットのうち、 現在設定されている例外に対応するビットが
+1 になったワードを返す。
+.SS 丸めモード
+丸めモードは、結果が仮数部だけで正確に表現できない際に、 浮動小数点操作の結果をどのように扱うかを決めるものである。
+さまざまな丸めモードを提供することができる: 最も近い値に丸める (デフォルト)、 (正の無限大に向かって) 大きくなる方向に丸める、
+(負の無限大に向かって) 小さくなる方向に丸める、 0 に向けて丸める、である。
 
-.\"O Each of the macros
-.\"O .BR FE_TONEAREST ,
-.\"O .BR FE_UPWARD ,
-.\"O .BR FE_DOWNWARD ,
-.\"O and
-.\"O .BR FE_TOWARDZERO
-.\"O is defined when the implementation supports getting and setting
-.\"O the corresponding rounding direction.
-.BR FE_TONEAREST ,
-.BR FE_UPWARD ,
-.BR FE_DOWNWARD ,
-.BR FE_TOWARDZERO
-¤Î³Æ¥Þ¥¯¥í¤Ï¡¢¤½¤ì¤¾¤ìÂбþ¤¹¤ë´Ý¤á¤ÎÊý¸þ¤ò
-¼ÂÁõ¤¬¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¤ËÄêµÁ¤µ¤ì¤ë¡£
+\fBFE_TONEAREST\fP, \fBFE_UPWARD\fP, \fBFE_DOWNWARD\fP, \fBFE_TOWARDZERO\fP
+の各マクロは、それぞれ対応する丸めの方向を 実装がサポートしている場合に定義される。
 .LP
-.\"O The
-.\"O .BR fegetround ()
-.\"O function returns the macro corresponding to the current
-.\"O rounding mode.
-.BR fegetround ()
-´Ø¿ô¤Ï¸½ºß¤Î´Ý¤á¥â¡¼¥É¤ËÂбþ¤¹¤ë¥Þ¥¯¥í¤òÊÖ¤¹¡£
+\fBfegetround\fP()  関数は現在の丸めモードに対応するマクロを返す。
 .LP
-.\"O The
-.\"O .BR fesetround ()
-.\"O function sets the rounding mode as specified by its argument
-.\"O and returns zero when it was successful.
-.BR fesetround ()
-´Ø¿ô¤Ï´Ý¤á¥â¡¼¥É¤ò°ú¤­¿ô¤ËÍ¿¤¨¤é¤ì¤¿Ãͤˤ·¡¢
-À®¸ù¤·¤¿¤é¥¼¥í¤òÊÖ¤¹¡£
+\fBfesetround\fP()  関数は丸めモードを引き数に与えられた値にし、 成功したらゼロを返す。
 
-.\"O C99 and POSIX.1-2008 specify an identifier,
-.\"O .BR FLT_ROUNDS ,
-.\"O defined in
-.\"O .IR <float.h> ,
-.\"O which indicates the implementation-defined rounding
-.\"O behavior for floating-point addition.
-.\"O This identifier has one of the following values:
-C99 ¤È POSIX.1-2008 ¤Ç¤Ï
-.B FLT_ROUNDS
-¤È¤¤¤¦¼±Ê̻Ҥ¬µ¬Äꤵ¤ì¤Æ¤ª¤ê¡¢
-.I <float.h>
-¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡£¤³¤Î¼±Ê̻ҤÏ
-ÉâÆ°¾®¿ôÅÀ¿ô¤Î²Ã»»¤Ë¤Ä¤¤¤Æ¤Î¼ÂÁõÄêµÁ¤µ¤ì¤¿´Ý¤áÆ°ºî¤òɽ¤·¡¢
-°Ê²¼¤Î¤¤¤º¤ì¤«¤ÎÃͤò»ý¤Ä¡£
+C99 と POSIX.1\-2008 では \fBFLT_ROUNDS\fP という識別子が規定されており、 \fI<float.h>\fP
+で定義されている。この識別子は 浮動小数点数の加算についての実装定義された丸め動作を表し、 以下のいずれかの値を持つ。
 .IP \-1
-.\"O The rounding mode is not determinable.
-´Ý¤á¥â¡¼¥É¤Ï·è¤á¤é¤ì¤Æ¤¤¤Ê¤¤¡£
+丸めモードは決められていない。
 .IP 0
-.\"O Rounding is toward 0.
-0 ¤Ë¸þ¤±¤Æ´Ý¤á¤ë¡£
+0 に向けて丸める。
 .IP 1
-.\"O Rounding is toward nearest number.
-ºÇ¤â¶á¤¤¿ô¤Ë´Ý¤á¤ë¡£
+最も近い数に丸める。
 .IP 2
-.\"O Rounding is toward positive infinity.
-Àµ¤Î̵¸ÂÂç¤Ë¸þ¤±¤Æ´Ý¤á¤ë¡£
+正の無限大に向けて丸める。
 .IP 3
-.\"O Rounding is toward negative infinity.
-Éé¤Î̵¸ÂÂç¤Ë¸þ¤±¤Æ´Ý¤á¤ë¡£
+負の無限大に向けて丸める。
 .PP
-.\"O Other values represent machine-dependent, nonstandard rounding modes.
-¾¤ÎÃͤϥޥ·¥ó°Í¸¤Ç¤¢¤ê¡¢É¸½àŪ¤Ç¤Ï¤Ê¤¤´Ý¤á¥â¡¼¥É¤Ç¤¢¤ë¡£
+他の値はマシン依存であり、標準的ではない丸めモードである。
 .PP
-.\"O The value of
-.\"O .BR FLT_ROUNDS
-.\"O should reflect the current rounding mode as set by
-.\"O .BR fesetround ()
-.\"O (but see BUGS).
-.BR FLT_ROUNDS
-¤ÎÃͤˤϡ¢
-.BR fesetround ()
-¤ÇÀßÄꤵ¤ì¤¿¸½ºß¤Î´Ý¤á¥â¡¼¥É¤¬È¿±Ç¤µ¤ì¤ë¤Ù¤­¤Ç¤¢¤ë
-(⤷¡¢¡Ö¥Ð¥°¡×¤ÎÀá¤ò»²¾È)¡£
-.\"O .SS "Floating-point environment"
-.SS ÉâÆ°¾®¿ôÅÀ´ØÏ¢¤Î´Ä¶­
-.\"O The entire floating-point environment, including
-.\"O control modes and status flags, can be handled
-.\"O as one opaque object, of type
-.\"O .IR fenv_t .
-.\"O The default environment is denoted by
-.\"O .B FE_DFL_ENV
-.\"O (of type
-.\"O .IR "const fenv_t *" ).
-ÉâÆ°¾®¿ôÅÀ´ØÏ¢¤Î´Ä¶­¤ÎÁ´ÂΤϡ¢
-À©¸æ¥â¡¼¥É¤ä¾õÂ֥ե饰¤â´Þ¤á¡¢
-.I fenv_t
-·¿¤ÎÆâÉô¥ª¥Ö¥¸¥§¥¯¥È°ì¤Ä¤Ç¼è¤ê°·¤¦¤³¤È¤¬¤Ç¤­¤ë¡£
-¥Ç¥Õ¥©¥ë¥È¤Î´Ä¶­¤Ï¡¢
-.RI ( "const fenv_t *"
-·¿¤Î)
-.B FE_DFL_ENV
-¤Ç¼¨¤µ¤ì¤ë¤â¤Î¤Ç¤¢¤ë¡£
-.\"O This is the environment setup at program start and it is defined by
-.\"O ISO C to have round to nearest, all exceptions cleared and a nonstop
-.\"O (continue on exceptions) mode.
-¤³¤ì¤Ï¥×¥í¥°¥é¥à¤Î³«»Ï»þ¤Ë¹½ÃÛ¤µ¤ì¤ë´Ä¶­¤Ç¤¢¤ê¡¢
-ISO C ¤Ç¤Ï¡¢´Ý¤á¥â¡¼¥É¤òºÇ¤â¶á¤¤Ãͤؤδݤá
-.RB ( FE_TONEAREST )
-¤ËÀßÄꤷ¡¢¤¹¤Ù¤Æ¤ÎÎã³°¤ò¥¯¥ê¥¢¤·¡¢ÉÔÄä»ß (nonstop)
-(Îã³°¤¬µ¯¤­¤Æ¤â·Ñ³¤¹¤ë) ¥â¡¼¥É¤È¤¹¤ë¤è¤¦¤Ëµ¬Äꤵ¤ì¤Æ¤¤¤ë¡£
-.LP
-.\"O The
-.\"O .BR fegetenv ()
-.\"O function saves the current floating-point environment in the object
-.\"O .IR *envp .
-.BR fegetenv ()
-´Ø¿ô¤Ï¡¢¸½ºß¤ÎÉâÆ°¾®¿ôÅÀ´Ä¶­¤ò¡¢¥ª¥Ö¥¸¥§¥¯¥È
-.I *envp
-¤ËÊݸ¤¹¤ë¡£
-.LP
-.\"O The
-.\"O .BR feholdexcept ()
-.\"O function does the same, then clears all exception flags,
-.\"O and sets a nonstop (continue on exceptions) mode,
-.\"O if available.
-.\"O It returns zero when successful.
-.BR feholdexcept ()
-´Ø¿ô¤âƱ¤¸Æ°ºî¤ò¹Ô¤¤¡¢
-¤µ¤é¤Ë²Äǽ¤Ç¤¢¤ì¤Ð¡¢Á´¤Æ¤ÎÎã³°¥Õ¥é¥°¤ò¥¯¥ê¥¢¤·¡¢
-nonstop (Îã³°»þ¤Ë¤â¼Â¹Ô¤ò·Ñ³) ¥â¡¼¥É¤ËÀßÄꤹ¤ë¡£
-.LP
-.\"O The
-.\"O .BR fesetenv ()
-.\"O function restores the floating-point environment from
-.\"O the object
-.\"O .IR *envp .
-.\"O This object must be known to be valid, for example, the result of a call to
-.\"O .BR fegetenv ()
-.\"O or
-.\"O .BR feholdexcept ()
-.\"O or equal to
-.\"O .BR FE_DFL_ENV .
-.\"O This call does not raise exceptions.
-.BR fesetenv ()
-´Ø¿ô¤Ï¡¢ÉâÆ°¾®¿ôÅÀ´Ä¶­¤ò¡¢¥ª¥Ö¥¸¥§¥¯¥È
-.I *envp
-¤«¤é¼è¤ê½Ð¤·¤¿ÃͤËÌ᤹¡£
-¤³¤Î¥ª¥Ö¥¸¥§¥¯¥È¤Ï¡¢Í­¸ú¤Ç¤¢¤ë¤³¤È¤¬»öÁ°¤Ëʬ¤«¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-Î㤨¤Ð¡¢
-.BR fegetenv ()
-¤ä
-.BR feholdexcept ()
-¤ò¸Æ¤Ó½Ð¤·¤¿·ë²Ì¤Ç¤¢¤ë¤È¤«¡¢
-.B FE_DFL_ENV
-¤ËÅù¤·¤¤¤È¤«¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-¤³¤Î´Ø¿ô¤Î¸Æ¤Ó½Ð¤·¤ÏÎã³°¤òȯÀ¸¤·¤Ê¤¤¡£
-.LP
-.\"O The
-.\"O .BR feupdateenv ()
-.\"O function installs the floating-point environment represented by
-.\"O the object
-.\"O .IR *envp ,
-.\"O except that currently raised exceptions are not cleared.
-.\"O After calling this function, the raised exceptions will be a bitwise OR
-.\"O of those previously set with those in
-.\"O .IR *envp .
-.\"O As before, the object
-.\"O .I *envp
-.\"O must be known to be valid.
-.BR feupdateenv ()
-´Ø¿ô¤Ï¡¢¥ª¥Ö¥¸¥§¥¯¥È
-.I *envp
-¤¬É½¸½¤¹¤ëÉâÆ°¾®¿ôÅÀ´Ä¶­¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
-¤¿¤À¤·¡¢¸½ºßȯÀ¸¤·¤Æ¤¤¤ëÎã³°¤Ï¥¯¥ê¥¢¤µ¤ì¤Ê¤¤¡£
-¤³¤Î´Ø¿ô¤ò¸Æ¤ó¤À¸å¤ËΩ¤Ã¤Æ¤¤¤ëÎã³°¤Ï¡¢
-´Ø¿ô¤ò¸Æ¤ÖÁ°¤ÎÃͤÈ
-.I *envp
-¤ÎÃͤȤΥӥåȤ´¤È¤Î OR ¤ò¼è¤Ã¤¿¤â¤Î¤Ë¤Ê¤ë¡£
-¾åµ­¤ÈƱÍͤˡ¢¥ª¥Ö¥¸¥§¥¯¥È
-.I *envp
-¤Ï¡¢»öÁ°¤ËÍ­¸ú¤Ç¤¢¤ë¤³¤È¤¬Ê¬¤«¤Ã¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
-.\"O These functions return zero on success and nonzero if an error occurred.
-.\"O .\" Earlier seven of these functions were listed as returning void.
-.\"O .\" This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E))
-.\"O .\" of the C99 Standard.
-¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢À®¸ù¤Î¾ì¹ç 0 ¤òÊÖ¤·¡¢¥¨¥é¡¼¤¬È¯À¸¤¹¤ë¤È 0 °Ê³°¤òÊÖ¤¹¡£
-.\" °ÊÁ°¤Ï¡¢¤³¤ì¤é¤Î´Ø¿ô¤Î¤¦¤Á 7¤Ä¤Ï void ¤òÊÖ¤¹¤â¤Î¤È½ñ¤«¤ì¤Æ¤¤¤¿¡£
-.\" ¤³¤ì¤Ï C99 É¸½à¤Î Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E))
-.\" ¤Ç½¤Àµ¤µ¤ì¤¿¡£
-.\"O .SH VERSIONS
-.SH ¥Ð¡¼¥¸¥ç¥ó
-.\"O These functions first appeared in glibc in version 2.1.
-¤³¤ì¤é¤Î´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 ¤Ç½é¤á¤ÆÅо줷¤¿¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
-IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99, POSIX.1-2001.
-.\"O .SH NOTES
-.SH Ãí°Õ
-.\"O .SS Glibc Notes
-.SS glibc ¤Ç¤ÎÃí°Õ
-.\"O If possible, the GNU C Library defines a macro
-.\"O .B FE_NOMASK_ENV
-.\"O which represents an environment where every exception raised causes a
-.\"O trap to occur.
-.\"O You can test for this macro using
-.\"O .BR #ifdef .
-.\"O It is only defined if
-.\"O .B _GNU_SOURCE
-.\"O is defined.
-²Äǽ¤Ê¾ì¹ç¤Ë¤Ï¡¢GNU C Library ¤Ï¥Þ¥¯¥í
-.B FE_NOMASK_ENV
-¤òÄêµÁ¤¹¤ë¡£¤³¤Î¥Þ¥¯¥í¤Ï¤¹¤Ù¤Æ¤ÎÎã³°¤Ç¥È¥é¥Ã¥×¤¬À¸¤¸¤ë¤è¤¦¤Ê´Ä¶­¤òɽ¤¹¡£
-.B #ifdef
-¤ò»È¤Ã¤Æ¤³¤Î¥Þ¥¯¥í¤ò¥Æ¥¹¥È¤Ç¤­¤ë¡£¤³¤ì¤Ï
-.B _GNU_SOURCE
-¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤Ã¤ÆÄêµÁ¤µ¤ì¤ë¡£
-.\"O The C99 standard does not define a way to set individual bits in the
-.\"O floating-point mask, for example, to trap on specific flags.
-.\"O glibc 2.2 supports the functions
-.\"O .BR feenableexcept ()
-.\"O and
-.\"O .BR fedisableexcept ()
-.\"O to set individual floating-point traps, and
-.\"O .BR fegetexcept ()
-.\"O to query the state.
-C99 É¸½à¤ÏÉâÆ°¾®¿ôÅÀ¥Þ¥¹¥¯ (Î㤨¤ÐÆÃÄê¤Î¥Õ¥é¥°¤Ç¤Î¥È¥é¥Ã¥×¤Ê¤É)
-¤Î³Æ¥Ó¥Ã¥È¤ÎÀßÄêÊýË¡¤Ë¤Ä¤¤¤Æ¤ÏÄêµÁ¤·¤Æ¤¤¤Ê¤¤¡£
-glibc 2.2 ¤Ï
-.BR feenableexcept ()
-´Ø¿ô¤È
-.BR fedisableexcept ()
-´Ø¿ô¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤ª¤ê¡¢
-³Æ¡¹¤ÎÉâÆ°¾®¿ôÅÀ¥È¥é¥Ã¥×¤òÀßÄê¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
-¤Þ¤¿
-.BR fegetexcept ()
-¤Ë¤è¤Ã¤Æ¾õÂÖ¤ÎÌ䤤¹ç¤ï¤»¤â¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£
+\fBFLT_ROUNDS\fP の値には、 \fBfesetround\fP()  で設定された現在の丸めモードが反映されるべきである
+(但し、「バグ」の節を参照)。
+.SS 浮動小数点関連の環境
+浮動小数点関連の環境の全体は、 制御モードや状態フラグも含め、 \fIfenv_t\fP 型の内部オブジェクト一つで取り扱うことができる。
+デフォルトの環境は、 (\fIconst fenv_t\ *\fP 型の)  \fBFE_DFL_ENV\fP で示されるものである。
+これはプログラムの開始時に構築される環境であり、 ISO C では、丸めモードを最も近い値への丸め (\fBFE_TONEAREST\fP)
+に設定し、すべての例外をクリアし、不停止 (nonstop)  (例外が起きても継続する) モードとするように規定されている。
+.LP
+\fBfegetenv\fP()  関数は、現在の浮動小数点環境を、オブジェクト \fI*envp\fP に保存する。
+.LP
+\fBfeholdexcept\fP()  関数も同じ動作を行い、 さらに可能であれば、全ての例外フラグをクリアし、 nonstop (例外時にも実行を継続)
+モードに設定する。
+.LP
+\fBfesetenv\fP()  関数は、浮動小数点環境を、オブジェクト \fI*envp\fP から取り出した値に戻す。
+このオブジェクトは、有効であることが事前に分かっていなければならない。 例えば、 \fBfegetenv\fP()  や \fBfeholdexcept\fP()
+を呼び出した結果であるとか、 \fBFE_DFL_ENV\fP に等しいとかでなければならない。 この関数の呼び出しは例外を発生しない。
+.LP
+\fBfeupdateenv\fP()  関数は、オブジェクト \fI*envp\fP が表現する浮動小数点環境をインストールする。
+ただし、現在発生している例外はクリアされない。 この関数を呼んだ後に立っている例外は、 関数を呼ぶ前の値と \fI*envp\fP の値とのビットごとの OR
+を取ったものになる。 上記と同様に、オブジェクト \fI*envp\fP は、事前に有効であることが分かっていなければならない。
+.SH 返り値
+.\" Earlier seven of these functions were listed as returning void.
+.\" This was corrected in Corrigendum 1 (ISO/IEC 9899:1999/Cor.1:2001(E))
+.\" of the C99 Standard.
+これらの関数は、成功の場合 0 を返し、エラーが発生すると 0 以外を返す。
+.SH バージョン
+これらの関数は glibc バージョン 2.1 で初めて登場した。
+.SH 属性
+.SS "マルチスレッディング (pthreads(7) 参照)"
+関数 \fBfeclearexcept\fP(), \fBfegetexceptflag\fP(), \fBfegetexceptflag\fP(),
+\fBfesetexceptflag\fP(), \fBfetestexcept\fP(), \fBfegetround\fP(), \fBfesetround\fP(),
+\fBfegetenv\fP(), \fBfeholdexcept\fP(), \fBfesetenv\fP(), \fBfeupdateenv\fP(),
+\fBfeenableexcept\fP(), \fBfedisableexcept\fP(), and \fBfegetexcept\fP() はスレッドセーフである。
+.SH 準拠
+IEC 60559 (IEC 559:1989), ANSI/IEEE 854, C99, POSIX.1\-2001.
+.SH 注意
+.SS "glibc での注意"
+可能な場合には、GNU C Library はマクロ \fBFE_NOMASK_ENV\fP
+を定義する。このマクロはすべての例外でトラップが生じるような環境を表す。 \fB#ifdef\fP を使ってこのマクロをテストできる。これは
+\fB_GNU_SOURCE\fP が定義されている場合に限って定義される。 C99 標準は浮動小数点マスク (例えば特定のフラグでのトラップなど)
+の各ビットの設定方法については定義していない。 バージョン 2.2 以降の glibc は、 \fBfeenableexcept\fP()  関数と
+\fBfedisableexcept\fP()  関数をサポートしており、 各々の浮動小数点トラップを設定できるようになっている。 また
+\fBfegetexcept\fP()  によって状態の問い合わせもできるようになっている。
 .sp
 .nf
-.B "#define _GNU_SOURCE"
+\fB#define _GNU_SOURCE\fP         /* feature_test_macros(7) 参照 */
 .br
-.B "#include <fenv.h>"
+\fB#include <fenv.h>\fP
 .sp
-.BI "int feenableexcept(int " excepts );
+\fBint feenableexcept(int \fP\fIexcepts\fP\fB);\fP
 .br
-.BI "int fedisableexcept(int " excepts );
+\fBint fedisableexcept(int \fP\fIexcepts\fP\fB);\fP
 .br
-.B "int fegetexcept(void);"
+\fBint fegetexcept(void);\fP
 .br
 .fi
 .LP
-.\"O The
-.\"O .BR feenableexcept ()
-.\"O and
-.\"O .BR fedisableexcept ()
-.\"O functions enable (disable) traps for each of the exceptions represented by
-.\"O .I excepts
-.\"O and return the previous set of enabled exceptions when successful,
-.\"O and \-1 otherwise.
-.\"O The
-.\"O .BR fegetexcept ()
-.\"O function returns the set of all currently enabled exceptions.
-.BR feenebleexcept ()
-´Ø¿ô¤È
-.BR fedisableexcept ()
-´Ø¿ô¤Ï
-.I excepts
-¤Ë¤è¤Ã¤Æɽ¸½¤µ¤ì¤ë³ÆÎã³°¤Î¥È¥é¥Ã¥×¤òÍ­¸ú (̵¸ú) ¤Ë¤¹¤ë¡£
-À®¸ù¤·¤¿¾ì¹ç¤ÏľÁ°¤ËÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤¿Îã³°¤Î¥»¥Ã¥È¤òÊÖ¤¹¡£
-¼ºÇÔ¤·¤¿¾ì¹ç¤Ï \-1 ¤òÊÖ¤¹¡£
-.BR fegetexcept ()
-´Ø¿ô¤Ï¸½ºßÍ­¸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ëÎã³°Á´¤Æ¤«¤é¤Ê¤ë¥»¥Ã¥È¤òÊÖ¤¹¡£
-.\"O .SH BUGS
-.SH ¥Ð¥°
-.\"O C99 specifies that the value of
-.\"O .B FLT_ROUNDS
-.\"O should reflect changes to the current rounding mode, as set by
-.\"O .BR fesetround ().
-C99 ¤Îµ¬Äê¤Ç¤Ï¡¢
-.BR FLT_ROUNDS
-¤ÎÃͤˤÏ
-.BR fesetround ()
-¤ÇÀßÄꤵ¤ì¤¿¸½ºß¤Î´Ý¤á¥â¡¼¥É¤¬È¿±Ç¤µ¤ì¤ë¤Ù¤­¤Ç¤¢¤ë¤È¤µ¤ì¤Æ¤¤¤ë¡£
-.\"O Currently,
-¸½ºß¤Î¤È¤³¤í¡¢
+\fBfeenableexcept\fP()  関数と \fBfedisableexcept\fP()  関数は \fIexcepts\fP
+によって表現される各例外のトラップを有効 (無効) にする。 成功した場合は直前に有効になっていた例外のセットを返す。 失敗した場合は \-1 を返す。
+\fBfegetexcept\fP()  関数は現在有効になっている例外全てからなるセットを返す。
+.SH バグ
 .\" Aug 08, glibc 2.8
-.\"O this does not occur:
-.\"O .B FLT_ROUNDS
-.\"O always has the value 1.
-¤³¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤ª¤é¤º¡¢
-.B FLT_ROUNDS
-¤Ï¾ï¤ËÃÍ 1 ¤È¤Ê¤ë¡£
 .\" See http://gcc.gnu.org/ml/gcc/2002-02/msg01535.html
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR feature_test_macros (7),
-.BR math_error (7)
+C99 の規定では、 \fBFLT_ROUNDS\fP の値には \fBfesetround\fP()
+で設定された現在の丸めモードが反映されるべきであるとされている。 現在のところ、 このようになっておらず、 \fBFLT_ROUNDS\fP は常に値 1
+となる。
+.SH 関連項目
+\fBmath_error\fP(7)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.67 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。