Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3)

Manpage of __SETFPUCW

__SETFPUCW

Section: Linux Programmer's Manual (3)
Updated: 8 March 2025
Index  

NAME

__setfpucw - set fpu control word on i386 architecture  

SYNOPSIS

#include <i386/fpu_control.h>

void __setfpucw((unsigned short) control_word);
 

DESCRIPTION

__setfpucw transfer control_word to the registers of the fpu (floating point unit) on i386 architecture. This can be used to control floating point precision, rounding and floating point exceptions.  

EXAMPLE

__setfpucw(0x1372)

Set fpu control word on i386 architecture to

     - extended precision

     - rounding to nearest

     - exceptions on overflow, zero divide and NaN
 

SEE ALSO

/usr/include/i386/fpu_control.h


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLE
SEE ALSO

This document was created by using the manual pages.
Time: 11:58:02 GMT, March 24, 2025

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat