fpsetround man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



fpgetmask(3C)							 fpgetmask(3C)

NAME
     fpgetmask, fpgetround, fpgetsticky, fpsetmask, fpsetround, fpsetsticky -
     fetch/set subfields of floating-point control status register of MIPS
     floating-point units

SYNOPSIS
     #include <ieeefp.h>

     #define fp_except	     int

     typedef enum    fp_rnd {
	 FP_RN = 0,  /* round to nearest representable number,
			tie -> even */
	 FP_RZ = 1,  /* round toward zero (truncate) */
	 FP_RP = 2,  /* round toward plus infinity   */
	 FP_RM = 3   /* round toward minus infinity  */
	 } fp_rnd;

     fp_except fpgetmask(void);

     fp_rnd    fpgetround(void);

     fp_except fpgetsticky(void);

     fp_except fpsetmask(fp_except);

     fp_rnd    fpsetround(fp_rnd);

     fp_except fpsetsticky(fp_except);

DESCRIPTION
     These routines fetch/set various subfields of the floating-
     point control status register of the floating-point unit.

     fpgetmask returns the current exception mask.

     fpgetround returns the current rounding mode.

     fpgetsticky returns the logged exceptions.

     fpsetmask sets the exception mask, returning the previous
     exception mask.  Any sticky bit whose corresponding mask bit is being
     enabled is cleared.

     fpsetround sets the rounding mode, returning the previous
     rounding mode.

     fpsetsticky sets the logged exceptions, returning the previous logged
     exceptions.

									Page 1

fpgetmask(3C)							 fpgetmask(3C)

SEE ALSO
     fpc(3C), sigfpe(3C)
     R4000 Microprocessor User's Manual

NOTES
     All of these routines take and/or return their values right justified.

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net