Searched refs:denorm_magic (Results 1 – 2 of 2) sorted by relevance
69 const AliasedFloatInt denorm_magic = in __gnu_f2h_ieee() local91 f.set_float(f.as_float() + denorm_magic.as_float()); in __gnu_f2h_ieee()94 o = static_cast<uint16>(f.as_uint() - denorm_magic.as_uint()); in __gnu_f2h_ieee()
297 const FP32 denorm_magic = { ((127 - 15) + (23 - 10) + 1) << 23 }; in float_to_half_rtne()317 f.f += denorm_magic.f; in float_to_half_rtne()320 o.x = static_cast<unsigned short>(f.u - denorm_magic.u); in float_to_half_rtne()