#include <cruntime.h>
int16_t __float32_to_int16(float arg);
__float32_to_int16 converts the floating value arg to a 16-bit signed integer, truncating towards zero, and.returns the truncated value as the result.
__float32_to_int16 is a provided on all implementations of CrossWorks.