1 .\" Written Sat Mar 8 10:35:08 MEZ 1997 by
2 .\" J. "MUFTI" Scheurich (mufti@csv.ica.uni-stuttgart.de)
3 .\" This page is licensed under the GNU General Public License
5 .\" Japanese Version Copyright (c) 1998-2000 ISHIOKA Takashi and NAKANO Takeo
6 .\" all rights reserved.
7 .\" Translated Mon May 25 10:45:50 1998
9 .\" Updated Wed Sep 20 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
11 .\"WORD: (floating-point) exception (浮動小数点) 例外
14 .TH __SETFPUCW 3 1997-03-08 "Linux" "Linux Programmer's Manual"
17 .\"O __setfpucw \- set FPU control word on i386 architecture (obsolete)
18 __setfpucw \- i386 アーキテクチャにおける FPU
19 のコントロールワードの設定 (obsolete)
22 .B #include <i386/fpu_control.h>
24 .BI "void __setfpucw(unsigned short " control_word );
27 .\"O .BR __setfpucw ()
30 .\"O to the registers of the FPU (floating-point unit) on the i386 architecture.
31 .\"O This was used to control floating-point precision,
32 .\"O rounding and floating-point exceptions.
36 を FPU (floating-point unit) のレジスタに転送する。
38 および浮動小数点例外を制御するのに使われる。
39 .\"O .SH CONFORMING TO
41 .\"O This function was a nonstandard GNU extension.
45 .\"O As of glibc 2.1 this function does not exist anymore.
46 .\"O There are new functions from C99, with prototypes in
48 .\"O to control FPU rounding modes, like
51 .\"O and the floating-point environment, like
53 .\"O .IR feholdexcept ,
56 .\"O and FPU exception handling, like
57 .\"O .IR feclearexcept ,
58 .\"O .IR fegetexceptflag ,
59 .\"O .IR feraiseexcept ,
60 .\"O .IR fesetexceptflag ,
61 .\"O .IR fetestexcept .
62 glibc 2.1 以降では、この関数は存在しない。
63 新たな関数群が C99 から導入された。これらのプロトタイプは
65 に置かれている。 FPU の丸めモードの制御には
81 .\"O If direct access to the FPU control word is still needed, the
86 .\"O .I <fpu_control.h>
88 FPU のコントロールワードへどうしても直接アクセスする必要がある場合には、
99 .\"O Set FPU control word on the i386 architecture to
101 .\"O \- extended precision
103 .\"O \- rounding to nearest
105 .\"O \- exceptions on overflow, zero divide and NaN
106 は、i386アーキテクチャにおける FPU のコントロールワードを、
110 \- 最も近い整数へ丸める、中間の場合は偶数を選択する。
112 \- 桁溢れ、0で除算、及び無効値(NaN)ときに例外を発生
117 .BR feclearexcept (3)