V8 Project
v8::internal::DoubleRepresentation Union Reference

#include <globals.h>

+ Collaboration diagram for v8::internal::DoubleRepresentation:

Public Member Functions

 DoubleRepresentation (double x)
 
bool operator== (const DoubleRepresentation &other) const
 

Public Attributes

double value
 
int64_t bits
 

Detailed Description

Definition at line 506 of file globals.h.

Constructor & Destructor Documentation

◆ DoubleRepresentation()

v8::internal::DoubleRepresentation::DoubleRepresentation ( double  x)
inline

Definition at line 509 of file globals.h.

509 { value = x; }

References value.

Member Function Documentation

◆ operator==()

bool v8::internal::DoubleRepresentation::operator== ( const DoubleRepresentation other) const
inline

Definition at line 510 of file globals.h.

510  {
511  return bits == other.bits;
512  }

References bits.

Member Data Documentation

◆ bits

int64_t v8::internal::DoubleRepresentation::bits

Definition at line 508 of file globals.h.

Referenced by CheckEqualsStrict(), v8::internal::NumberCacheHash(), and operator==().

◆ value

double v8::internal::DoubleRepresentation::value

Definition at line 507 of file globals.h.

Referenced by CheckEqualsStrict(), and DoubleRepresentation().


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