ARM VERSION 1.2 Scheda Tecnica Pagina 213

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 276
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 212
Floating-point Support
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 5-15
The exception macros are bit fields. The macro
FE_ALL_EXCEPT
is the bitwise OR of all
of them.
Handling exception flags
C9X provides three functions to clear, test and raise exceptions:
void feclearexcept(int excepts);
int fetestexcept(int excepts);
void feraiseexcept(int excepts);
The
feclearexcept
function clears the sticky flags for the given exceptions. The
fetestexcept
function returns the bitwise OR of the sticky flags for the given exceptions
(so that if the Overflow flag was set but the Underflow flag was not, then calling
fetestexcept(FE_OVERFLOW|FE_UNDERFLOW)
would return
FE_OVERFLOW
).
The
feraiseexcept
function raises the given exceptions, in unspecified order. If an
exception trap is enabled for an exception raised this way, it is called.
C9X also provides functions to save and restore everything about a given exception.
This includes the sticky flag, whether the exception is trapped, and the address of the
trap handler, if any. These functions are:
void fegetexceptflag(fexcept_t *flagp, int excepts);
void fesetexceptflag(const fexcept_t *flagp, int excepts);
The
fegetexceptflag
function copies all the information relating to the given exceptions
into the
fexcept_t
variable provided. The
fesetexceptflag
function copies all the
information relating to the given exceptions from the
fexcept_t
variable into the current
floating-point environment.
Note
fesetexceptflag
can be used to set the sticky flag of a trapped exception to 1 without
calling the trap handler, whereas
feraiseexcept
calls the trap handler for any trapped
exception.
Handling rounding modes
C9X provides two functions for controlling rounding modes:
int fegetround(void);
int fesetround(int round);
Vedere la pagina 212
1 2 ... 208 209 210 211 212 213 214 215 216 217 218 ... 275 276

Commenti su questo manuale

Nessun commento

LG P7258N1F manuali

Manuali dei proprietari e guide per l'utente per Lavatrici LG P7258N1F.
We fornisce 1 manuali pdf LG P7258N1F per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per Lavatrici LG

Modelli Tipo di Documento
F-1480RDS Manuale Utente   LG F 1480RDS Owner’s Manual, 44 pagine
WF-T1503TP Manuale Utente   LG WF-T1503TP Owner’s Manual, 77 pagine
WP-970NP Manuale Utente   LG WP-830NP Owner’s Manual [el] , 16 pagine
F1222TD25 Manuale Utente   LG F1222TD25 Owner’s Manual, 32 pagine
WM5000HVA Manuale Utente    LG WM5000HVA Owner’s Manual, 92 pagine
F4J8JSP2S Manuale Utente   LG F4J8JSP2S Owner’s Manual, 52 pagine
WD-14440RDS Manuale Utente   LG WD-14440RDS Owner’s Manual [no] , 35 pagine
WD-10260T Manuale Utente   LG WD-10260T Owner’s Manual, 28 pagine
WD-12336AD Manuale Utente   LG WD-12336AD Owner’s Manual, 32 pagine
WF-T8510TP Manuale Utente   LG WF-T8510TP Owner’s Manual, 30 pagine
WT1901CK Manuale Utente    LG WT1901CK Owner’s Manual [de] [en] [fr] [nl] , 84 pagine
WD-12391TD Manuale Utente   LG WD-12391TD Owner's manual [en] , 28 pagine
T1003TEFT1 Manuale Utente   LG T1003TEFT1 Owner's manual, 78 pagine
T9069NEFP Manuale Utente   LG T9069NEFP Owner’s Manual, 41 pagine
WF-T1052TP Manuale Utente   LG WF-T1052TP Owner’s Manual, 38 pagine
WD-16225FD Manuale Utente   LG WD-16225FD Owner’s Manual, 27 pagine
WD-12275RD Manuale Utente   LG WD-12275RD Owner’s Manual, 55 pagine
T1304DPE Manuale Utente   LG T1304DPE Owner’s Manual, 44 pagine
P900RONL Manuale Utente   LG P900RONL Owner’s Manual, 4 pagine
F81482S Manuale Utente   LG F81482S Owner's manual, 36 pagine