Searched refs:fp16 (Results 1 – 5 of 5) sorted by relevance
58 struct fp16 { struct60 explicit constexpr fp16() noexcept : bits(0) { } in fp16() argument61 explicit constexpr fp16(uint16_t b) noexcept : bits(b) { } in fp16() function98 static CONSTEXPR fp16 ftoh(float v) noexcept;99 static CONSTEXPR float htof(fp16 v) noexcept;100 fp16 mBits;103 inline CONSTEXPR half::fp16 half::ftoh(float v) noexcept { in ftoh()104 fp16 out; in ftoh()131 inline CONSTEXPR float half::htof(half::fp16 in) noexcept { in htof()
354 // Number of normal fp16 values:360 // Number of positive, non-zero and normal fp16 values = 30 * 1024 = 30720361 // Number of negative, non-zero and normal fp16 values = 30 * 1024 = 30720
82 $(my_rs_unit_tests_path)/fp16.rscript\
172 [](_Float16 fp16) { return static_cast<float>(fp16); }); in expectMultinomialDistributionWithinTolerance() argument