Home
last modified time | relevance | path

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

/frameworks/native/libs/math/include/math/
Dhalf.h58 struct fp16 { struct
60 fp16() noexcept = default; argument
61 explicit constexpr fp16(uint16_t b) noexcept : bits(b) { } in fp16() function
98 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()