1 .\" Written Sat Mar 8 10:35:08 MEZ 1997 by
2 .\" J. "MUFTI" Scheurich (mufti@csv.ica.uni-stuttgart.de)
4 .\" SPDX-License-Identifier: GPL-1.0-or-later
6 .TH __SETFPUCW 3 2021-03-22 "Linux man-pages (unreleased)"
8 __setfpucw \- set FPU control word on i386 architecture (obsolete)
11 .RI ( libc ", " \-lc )
14 .B #include <i386/fpu_control.h>
16 .BI "void __setfpucw(unsigned short " control_word );
22 to the registers of the FPU (floating-point unit) on the i386 architecture.
23 This was used to control floating-point precision,
24 rounding and floating-point exceptions.
26 This function was a nonstandard GNU extension.
28 As of glibc 2.1 this function does not exist anymore.
29 There are new functions from C99, with prototypes in
31 to control FPU rounding modes, like
34 and the floating-point environment, like
39 and FPU exception handling, like
40 .BR feclearexcept (3),
41 .BR fegetexceptflag (3),
42 .BR feraiseexcept (3),
43 .BR fesetexceptflag (3),
47 If direct access to the FPU control word is still needed, the
57 Set FPU control word on the i386 architecture to
65 exceptions on overflow, zero divide and NaN