Home
last modified time | relevance | path

Searched refs:denorm_magic (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_fp16.cc69 const AliasedFloatInt denorm_magic = in __gnu_f2h_ieee() local
91 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()
/external/eigen/Eigen/src/Core/arch/CUDA/
DHalf.h297 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()