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 (date) "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 "[[deprecated]] 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.
30 There are new functions from C99, with prototypes in
32 to control FPU rounding modes, like
35 and the floating-point environment, like
40 and FPU exception handling, like
41 .BR feclearexcept (3),
42 .BR fegetexceptflag (3),
43 .BR feraiseexcept (3),
44 .BR fesetexceptflag (3),
48 If direct access to the FPU control word is still needed, the
58 Set FPU control word on the i386 architecture to
66 exceptions on overflow, zero divide and NaN