v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::Float32 Class Reference

#include <boxed-float.h>

Collaboration diagram for v8::internal::Float32:

Public Member Functions

 Float32 ()=default
 
 Float32 (float value)
 
uint32_t get_bits () const
 
float get_scalar () const
 
bool is_nan () const
 
uint32_t * get_bits_address ()
 

Static Public Member Functions

static constexpr Float32 FromBits (uint32_t bits)
 

Private Member Functions

constexpr Float32 (uint32_t bit_pattern)
 

Private Attributes

uint32_t bit_pattern_ = 0
 

Detailed Description

Definition at line 22 of file boxed-float.h.

Constructor & Destructor Documentation

◆ Float32() [1/3]

v8::internal::Float32::Float32 ( )
default
Here is the caller graph for this function:

◆ Float32() [2/3]

v8::internal::Float32::Float32 ( float value)
inlineexplicit

Definition at line 28 of file boxed-float.h.

◆ Float32() [3/3]

v8::internal::Float32::Float32 ( uint32_t bit_pattern)
inlineexplicitconstexprprivate

Definition at line 55 of file boxed-float.h.

Member Function Documentation

◆ FromBits()

static constexpr Float32 v8::internal::Float32::FromBits ( uint32_t bits)
inlinestaticconstexpr

Definition at line 50 of file boxed-float.h.

Here is the call graph for this function:

◆ get_bits()

uint32_t v8::internal::Float32::get_bits ( ) const
inline

Definition at line 36 of file boxed-float.h.

Here is the caller graph for this function:

◆ get_bits_address()

uint32_t * v8::internal::Float32::get_bits_address ( )
inline

Definition at line 48 of file boxed-float.h.

◆ get_scalar()

float v8::internal::Float32::get_scalar ( ) const
inline

Definition at line 38 of file boxed-float.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_nan()

bool v8::internal::Float32::is_nan ( ) const
inline

Definition at line 40 of file boxed-float.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ bit_pattern_

uint32_t v8::internal::Float32::bit_pattern_ = 0
private

Definition at line 53 of file boxed-float.h.


The documentation for this class was generated from the following file: