Synopsis
#include <cruntime.h>
float __int16_to_float32(int16_t arg);
Description

__int16_to_float32 converts the 16-bit signed integer arg to a 32-bit floating value and returns the floating value as the result. As all 16-bit integers can be represented exactly in 32-bit floating point format, rounding is never necessary.

Portability

__int16_to_float32 is a provided on all implementations of CrossWorks.