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 2021-03-22 "Linux" "Linux Programmer's Manual"
10 __setfpucw \- set FPU control word on i386 architecture (obsolete)
13 .B #include <i386/fpu_control.h>
15 .BI "void __setfpucw(unsigned short " control_word );
21 to the registers of the FPU (floating-point unit) on the i386 architecture.
22 This was used to control floating-point precision,
23 rounding and floating-point exceptions.
25 This function was a nonstandard GNU extension.
27 As of glibc 2.1 this function does not exist anymore.
28 There are new functions from C99, with prototypes in
30 to control FPU rounding modes, like
33 and the floating-point environment, like
38 and FPU exception handling, like
39 .BR feclearexcept (3),
40 .BR fegetexceptflag (3),
41 .BR feraiseexcept (3),
42 .BR fesetexceptflag (3),
46 If direct access to the FPU control word is still needed, the
56 Set FPU control word on the i386 architecture to
58 \- rounding to nearest
59 \- exceptions on overflow, zero divide and NaN