1 .\" Written Sat Mar 8 10:35:08 MEZ 1997 by
2 .\" J. "MUFTI" Scheurich (mufti@csv.ica.uni-stuttgart.de)
4 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
5 .\" This page is licensed under the GNU General Public License
8 .TH __SETFPUCW 3 2012-12-31 "Linux" "Linux Programmer's Manual"
10 __setfpucw \- set FPU control word on i386 architecture (obsolete)
12 .B #include <i386/fpu_control.h>
14 .BI "void __setfpucw(unsigned short " control_word );
19 to the registers of the FPU (floating-point unit) on the i386 architecture.
20 This was used to control floating-point precision,
21 rounding and floating-point exceptions.
23 This function was a nonstandard GNU extension.
25 As of glibc 2.1 this function does not exist anymore.
26 There are new functions from C99, with prototypes in
28 to control FPU rounding modes, like
31 and the floating-point environment, like
36 and FPU exception handling, like
37 .BR feclearexcept (3),
38 .BR fegetexceptflag (3),
39 .BR feraiseexcept (3),
40 .BR fesetexceptflag (3),
44 If direct access to the FPU control word is still needed, the
54 Set FPU control word on the i386 architecture to
58 \- rounding to nearest
60 \- exceptions on overflow, zero divide and NaN