Are there functions to convert a floating point value into a UL also for the TMS320 available? I have seen such functios in the math.h and the _defs.h but the functions are not available for TMS320.
#elif defined(__ARM_ARCH)
#define __u32_bits_as_f32(x) (_itof(x))
#define __f32_bits_as_u32(x) (_ftoi(x))
#define __u64_bits_as_f64(x) (_itod((x)>>32,(x)&0xffffffff))
#define __f64_bits_as_u64(x) ((((__uint64_t)_hi(x) << 32 | _lo(x))))
#define __f64_upper_bits_as_u32(x) (_hi(x))
#define __f64_lower_bits_as_u32(x) (_lo(x))
#define __u32x2_bits_as_f64(x,y) (_itod((x),(y)))
#elif defined(__C7000__) /* Keep __C7000__ ordered before __TMS320C6X */
#define __u32_bits_as_f32(x) (__as_float(x))
#define __f32_bits_as_u32(x) (__as_uint(x))
#define __u64_bits_as_f64(x) (__as_double(x))
#define __f64_bits_as_u64(x) (__as_ulong(x))
#define __f64_upper_bits_as_u32(x) (__as_uint2(x).hi)
#define __f64_lower_bits_as_u32(x) (__as_uint2(x).lo)
#define __u32x2_bits_as_f64(x,y) (__as_double((__uint2)(y, x)))
#elif defined(__TMS320C6X__)
#define __u32_bits_as_f32(x) (_itof(x))
#define __f32_bits_as_u32(x) (_ftoi(x))
#define __u64_bits_as_f64(x) (_lltod(x))
#define __f64_bits_as_u64(x) (_dtoll(x))
#define __f64_upper_bits_as_u32(x) (_hi(x))
#define __f64_lower_bits_as_u32(x) (_lo(x))
#define __u32x2_bits_as_f64(x,y) (_itod((x),(y)))
#else
#define __f64_upper_bits_as_u32(x) (__f64_bits_as_u64(x) >> 32)
#define __f64_lower_bits_as_u32(x) (__f64_bits_as_u64(x) & 0xffffffff)
#define __u32x2_bits_as_f64(x,y) (__u64_bits_as_f64((__uint64_t)(x) << 32 | (__uint32_t)(y)))
#endif