Home
last modified time | relevance | path

Searched defs:fp32 (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/math/include/math/
Dhalf.h70 struct fp32 { struct
75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument
76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument
77 void setS(unsigned int s) noexcept { bits = uint32_t((bits & 0x7FFFFFFF) | (s<<31)); } in setS()
78 void setE(unsigned int s) noexcept { bits = uint32_t((bits & 0x807FFFFF) | (s<<23)); } in setE()
79 void setM(unsigned int s) noexcept { bits = uint32_t((bits & 0xFF800000) | (s<< 0)); } in setM()
80 constexpr unsigned int getS() const noexcept { return bits >> 31u; } in getS()
81 constexpr unsigned int getE() const noexcept { return (bits >> 23u) & 0xFFu; } in getE()
82 constexpr unsigned int getM() const noexcept { return bits & 0x7FFFFFu; } in getM()
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp119 float fp32; member
208 float fp32; member
241 float fp32; member