4.7.27. __qdbl

This intrinsic inserts instructions equivalent to the saturating add of an integer with itself into the instruction stream generated by the compiler. It enables you to obtain the saturating double of an integer from within your C or C++ code.

Syntax

int __qdbl(int val)

Where:

val

is the data value to be doubled.

Return value

The __qdbl intrinsic returns the saturating add of val with itself, or equivalently, __qadd(val, , val).

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential