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

#include <safe_conversions_impl.h>

Collaboration diagram for v8::base::internal::FastIntegerArithmeticPromotionImpl< Lhs, Rhs >:

Public Types

using type
 

Static Public Attributes

static constexpr bool kContained = true
 

Detailed Description

template<typename Lhs, typename Rhs>
requires (kIsIntegerArithmeticSafe< std::conditional_t<std::is_signed_v<Lhs> || std::is_signed_v<Rhs>, intmax_t, uintmax_t>, MaxExponentPromotion<Lhs, Rhs>>)
struct v8::base::internal::FastIntegerArithmeticPromotionImpl< Lhs, Rhs >

Definition at line 449 of file safe_conversions_impl.h.

Member Typedef Documentation

◆ type

template<typename Lhs , typename Rhs >
using v8::base::internal::FastIntegerArithmeticPromotionImpl< Lhs, Rhs >::type
Initial value:
std::is_signed_v<Lhs> || std::is_signed_v<Rhs>>
IntegerForDigitsAndSign< kIntegerBitsPlusSign< Integer > *2, IsSigned > TwiceWiderInteger

Definition at line 450 of file safe_conversions_impl.h.

Member Data Documentation

◆ kContained

template<typename Lhs , typename Rhs >
bool v8::base::internal::FastIntegerArithmeticPromotionImpl< Lhs, Rhs >::kContained = true
staticconstexpr

Definition at line 454 of file safe_conversions_impl.h.


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