Compiler User GuidePreface Overview of the Compiler Getting Started with the Compiler Compiler Features Compiler Coding Practices Compiler Diagnostic Messages Using the Inline and Embedded Assemblers of the AR Compiler Command-line Options Language Extensions Compiler-specific Features C and C++ Implementation Details Character sets and identifiers in ARM C and C++ Basic data types in ARM C and C++ Operations on basic data types ARM C and C++ Structures, unions, enumerations, and bitfields in Using the ::operator new function in ARM C++ Tentative arrays in ARM C++ Old-style C parameters in ARM C++ functions Anachronisms in ARM C++ Template instantiation in ARM C++ Namespaces in ARM C++ C++ exception handling in ARM C++ Extern inline functions in ARM C++ C++11 supported features What is Semihosting? Via File Syntax Summary Table of GNU Language Extensions Standard C Implementation Definition Standard C++ Implementation Definition C and C++ Compiler Implementation Limits
Operations on basic data types ARM C and C++
10.3 Operations on basic data types ARM C and C++
Describes the basic data type arithmetic operation implementation details in ARM C and C++.
The ARM compiler performs the usual arithmetic conversions set out in relevant sections of the ISO C99 and ISO C++ standards. The following information describes additional points that relate to arithmetic operations.
Operations on integral types
The following statements apply to operations on the integral types:
Operations on floating-point types
The following statements apply to operations on floating-point types:
NoteThe IEEE 754 standard for floating-point processing states that the default action to an exception is to proceed without a trap. You can modify floating-point error handling by tailoring the functions and definitions in fenv.h.
The following statements apply to all pointers in C. They also apply to pointers in C++, other than pointers to members:
of your data.