1 .\" Written Sat Mar 8 10:35:08 MEZ 1997 by J. "MUFTI" Scheurich (mufti@csv.ica.uni-stuttgart.de)
2 .TH __SETFPUCW 3 1997-03-08 "i386 Linux Man Page" "Linux Programmer's Manual"
4 __setfpucw \- set fpu control word on i386 architecture (obsolete)
6 .B #include <i386/fpu_control.h>
8 .BI "void __setfpucw((unsigned short) " control_word );
14 to the registers of the fpu (floating point unit) on i386 architecture. This
15 was used to control floating point precision, rounding and floating point
19 .BR __setfpucw(0x1372)
21 Set fpu control word on i386 architecture to
27 - exceptions on overflow, zero divide and NaN
30 As of glibc 2.1 this function does not exist anymore.
31 There are new functions from ISO C99, with prototypes in
32 .IR /usr/include/fenv.h ,
33 to control fpu rounding modes, like
36 and the floating point environment, like
41 and fpu exception handling, like
48 If direct acces to the FPU control word is still needed, the _FPU_GETCW
49 and _FPU_SETCW macros from
50 .I /usr/include/fpu_control.h
55 .IR /usr/include/i386/fpu_control.h