Keil™, An ARM® Company

RealView Libraries and Floating Point Support Guide

Technical Support

On-Line Manuals

RealView Libraries and Floating Point Support Guide

Preface
Introduction
The C and C++ Libraries
The C Micro-library
Floating‑point Support
The software floating‑point library, fplib
Features of the floating‑point library, fplib
Arithmetic on numbers in a particular format
Conversions between floats, doubles, and ints
Conversions between long longs and other number fo
Floating‑point comparisons
C99 functions
Controlling the floating‑point environment
__ieee_status()
__fp_status()
__vfp_status()
Microsoft compatibility functions
C99 compatible functions
ARM compiler extensions to the C99 interface
The math library, mathlib
Range reduction in mathlib
Determine the type of a floating‑point number (f
Determine if a number is finite (isfinite)
Determine if a number is infinite (isinf)
Determine if a number is a NaN (isnan)
Determine if a number is normal (isnormal)
Return the sign bit of a number (signbit)
Copy sign functions (copysign, copysignf)
Comparison macros (isgreater, isgreaterequal, isle
Inverse hyperbolic functions (acosh, asinh, atanh)
Cube root (cbrt)
Error functions (erf, erfc)
One less than exp(x) (expm1)
Gamma function (gamma, gamma_r)
Hypotenuse function (hypot)
Bessel functions of the first kind (j0, j1, jn)
The logarithm of the gamma function
Logarithm of one more than x (log1p)
IEEE 754 remainder function (remainder)
IEEE round‑to‑integer operation (rint)
Return the fraction part of a number (significand)
Bessel functions of the second kind (y0, y1, yn)
Legacy, Exponent of a number (ilogb, ilogbf, ilogb
Legacy, Determine if a number is finite (finite)
Legacy, Determine if a number is a NaN (isnan)
IEEE 754 arithmetic
Basic data types
Arithmetic and rounding
Exceptions

IEEE 754 arithmetic

4.4. IEEE 754 arithmetic

The ARM floating‑point environment is an implementation of the IEEE 754 standard for binary floating‑point arithmetic. This section contains a summary of the standard as it is implemented by the ARM compiler.

This section includes:

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0378A