Technical Support
On-Line Manuals
Libraries and Floating Point Support Guide
The following topics describe the ARM support for floating-point computations:
About floating-point support
The software floating-point library, fplib
Calling fplib routines
fplib arithmetic on numbers in a particular format
fplib conversions between floats, doubles, and ints
fplib conversion between long longs, floats, and doubles
fplib comparisons between floats and doubles
fplib C99 functions
Controlling the ARM floating-point environment
Floating-point functions for compatibility with Microsoft products
C99-compatible functions for controlling the ARM floating-point environment
C99 rounding mode and floating-point exception macros
Exception flag handling
Functions for handling rounding modes
Functions for saving and restoring the whole floating-point environment
Functions for temporarily disabling exceptions
ARM floating-point compiler extensions to the C99 interface
Writing a custom exception trap handler
Example of a custom exception handler
Exception trap handling by signals
Using C99 signalling NaNs provided by mathlib (_WANT_SNAN)
mathlib double and single-precision floating-point functions
Nonstandard functions in mathlib
IEEE 754 arithmetic
Basic data types for IEEE 754 arithmetic
Single precision data type for IEEE 754 arithmetic
Double precision data type for IEEE 754 arithmetic
Sample single precision floating-point values for IEEE 754 arithmetic
Sample double precision floating-point values for IEEE 754 arithmetic
IEEE 754 arithmetic and rounding
Exceptions arising from IEEE 754 floating-point arithmetic
Ignoring exceptions from IEEE 754 floating-point arithmetic operations
Trapping exceptions from IEEE 754 floating-point arithmetic operations
Exception types recognized by the ARM floating-point environment
Using the Vector Floating-Point (VFP) support libraries.