ultrix man page for fpc

Query: fpc

OS: ultrix

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

fpc(3)							     Library Functions Manual							    fpc(3)

Name
       fpc, get_fpc_csr, set_fpc_csr, swapRM, swapINX - floating-point control registers

Syntax
       #include <mips/fpu.h>

       int get_fpc_csr()

       int set_fpc_csr(csr)
       int csr;

       int get_fpc_irr()

       int swapRM(x)
       int x;

       int swapINX(x)
       int x;

Description
       These  functions  are  to  get  and set the floating-point control registers of RISC floating-point units.  All of these functions take and
       return their values as 32 bit integers.

       The file <mips/fpu.h> contains unions for each of the control registers. Each union contains a structure that breaks  out  the  bit  fields
       into the logical parts for each control register.  This file also contains constants for fields of the control registers.

       RISC  floating-point  implementations  have  a control and status register and an implementation revision register.  The control and status
       register is returned by The routine sets the control and status register and returns the old value.  The implementation	revision  register
       is read-only and is returned by the routine

       The  function sets only the rounding mode and returns the old rounding mode.  The function sets only the sticky inexact bit and returns the
       old one.  The bits in the arguments and return values to and are right justified.

								       RISC								    fpc(3)
Related Man Pages
feholdexcept(3m) - opensolaris
__setfpucw(3) - redhat
unw_get_fpreg(3) - debian
fesetround(3) - netbsd
feholdexcept(3m) - sunos
Similar Topics in the Unix Linux Community
Network PDF Server YAFPC-Appliance 5.02 (Default branch)
Network PDF Server YAFPC-Appliance 5.03 (Default branch)
fpcbol beta 4 (Default branch)
Network PDF Server YAFPC-Appliance 5.04 (Default branch)
Network PDF Server YAFPC-Appliance 5.05 (Default branch)