Home
last modified time | relevance | path

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

/external/v8/src/
Dboxed-float.h25 explicit Float32(float value) : bit_pattern_(bit_cast<uint32_t>(value)) { in Float32()
31 uint32_t get_bits() const { return bit_pattern_; } in get_bits()
33 float get_scalar() const { return bit_cast<float>(bit_pattern_); } in get_scalar()
43 uint32_t* get_bits_address() { return &bit_pattern_; } in get_bits_address()
48 uint32_t bit_pattern_ = 0;
51 : bit_pattern_(bit_pattern) {} in Float32()
65 explicit Float64(double value) : bit_pattern_(bit_cast<uint64_t>(value)) { in Float64()
71 uint64_t get_bits() const { return bit_pattern_; } in get_bits()
72 double get_scalar() const { return bit_cast<double>(bit_pattern_); } in get_scalar()
73 bool is_hole_nan() const { return bit_pattern_ == kHoleNanInt64; } in is_hole_nan()
[all …]
/external/v8/src/wasm/
Dwasm-value.h70 WasmValue() : type_(kWasmStmt), bit_pattern_{} {} in WasmValue()
73 explicit WasmValue(ctype v) : type_(localtype), bit_pattern_{} { \
74 static_assert(sizeof(ctype) <= sizeof(bit_pattern_), \
76 WriteUnalignedValue<ctype>(reinterpret_cast<Address>(bit_pattern_), v); \
83 return ReadUnalignedValue<ctype>(reinterpret_cast<Address>(bit_pattern_)); \
93 !memcmp(bit_pattern_, other.bit_pattern_, 16);
104 uint8_t bit_pattern_[16]; variable