Searched defs:fp32 (Results 1 – 2 of 2) sorted by relevance
70 struct fp32 { struct75 explicit constexpr fp32() noexcept : bits(0) { } in fp32() argument76 explicit constexpr fp32(float f) noexcept : fp(f) { } in fp32() argument77 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()
119 float fp32; member208 float fp32; member241 float fp32; member