v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING > Class Template Reference

#include <checked_math_impl.h>

Collaboration diagram for v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >:

Public Member Functions

template<typename Src = double>
constexpr CheckedNumericState (Src value=0.0, bool is_valid=true)
 
template<typename Src >
constexpr CheckedNumericState (const CheckedNumericState< Src > &rhs)
 
constexpr bool is_valid () const
 
constexpr T value () const
 

Static Private Member Functions

template<typename Src >
static constexpr T WellDefinedConversionOrNaN (Src value, bool is_valid)
 

Private Attributes

T value_
 

Detailed Description

template<typename T>
class v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >

Definition at line 535 of file checked_math_impl.h.

Constructor & Destructor Documentation

◆ CheckedNumericState() [1/2]

template<typename T >
template<typename Src = double>
v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >::CheckedNumericState ( Src value = 0.0,
bool is_valid = true )
inlineexplicitconstexpr

Definition at line 538 of file checked_math_impl.h.

◆ CheckedNumericState() [2/2]

template<typename T >
template<typename Src >
v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >::CheckedNumericState ( const CheckedNumericState< Src > & rhs)
inlineconstexpr

Definition at line 543 of file checked_math_impl.h.

Member Function Documentation

◆ is_valid()

template<typename T >
bool v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >::is_valid ( ) const
inlineconstexpr

Definition at line 546 of file checked_math_impl.h.

◆ value()

template<typename T >
T v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >::value ( ) const
inlineconstexpr

Definition at line 555 of file checked_math_impl.h.

◆ WellDefinedConversionOrNaN()

template<typename T >
template<typename Src >
static constexpr T v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >::WellDefinedConversionOrNaN ( Src value,
bool is_valid )
inlinestaticconstexprprivate

Definition at line 560 of file checked_math_impl.h.

Member Data Documentation

◆ value_

template<typename T >
T v8::base::internal::CheckedNumericState< T, NUMERIC_FLOATING >::value_
private

Definition at line 568 of file checked_math_impl.h.


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