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 .TH __SETFPUCW 3 1997-03-08 "Linux" "Linux Programmer's Manual"
7 __setfpucw \- set FPU control word on i386 architecture (obsolete)
9 .B #include <i386/fpu_control.h>
11 .BI "void __setfpucw(unsigned short " control_word );
16 to the registers of the FPU (floating-point unit) on the i386 architecture.
17 This was used to control floating-point precision,
18 rounding and floating-point exceptions.
20 This function was a nonstandard GNU extension.
22 As of glibc 2.1 this function does not exist anymore.
23 There are new functions from C99, with prototypes in
25 to control FPU rounding modes, like
28 and the floating-point environment, like
33 and FPU exception handling, like
40 If direct access to the FPU control word is still needed, the
50 Set FPU control word on the i386 architecture to
54 \- rounding to nearest
56 \- exceptions on overflow, zero divide and NaN