This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Doubt about a piece of manual

Compiler User Guide: Texas Instruments (TI) C55x intrinsics for optimizing C code
http://www.keil.com/support/man/docs/armcc/armcc_babchiba.htm

Intrinsics for rounding, saturation, bitcount and extremum, such as _round and _count. For example, _round(v1) returns the value v1 rounded by adding 215 using unsaturated arithmetic, clearing the lower 16 bits.

Why adding 215 here?
As to round the lower 16 bits, shouldn't it be adding 255 to value v1?
Or it's something about specific arithmetic calculation?