![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <concepts>
#include <type_traits>
#include "build/build_config.h"
#include "src/base/numerics/safe_conversions.h"
Go to the source code of this file.
Namespaces | |
namespace | v8 |
namespace | v8::base |
namespace | v8::base::internal |
Macros | |
#define | BASE_HAS_OPTIMIZED_SAFE_MATH (0) |
#define | BASE_NUMERIC_ARITHMETIC_VARIADIC(CLASS, CL_ABBR, OP_NAME) |
#define | BASE_NUMERIC_ARITHMETIC_OPERATORS(CLASS, CL_ABBR, OP_NAME, OP, CMP_OP) |
Functions | |
template<typename T > requires (std::integral<T>) | |
constexpr T | v8::base::internal::NegateWrapper (T value) |
template<typename T > requires (std::floating_point<T>) | |
constexpr T | v8::base::internal::NegateWrapper (T value) |
template<typename T > requires (std::integral<T>) | |
constexpr std::make_unsigned< T >::type | v8::base::internal::InvertWrapper (T value) |
template<typename T > requires (std::integral<T>) | |
constexpr T | v8::base::internal::AbsWrapper (T value) |
template<typename T > requires (std::floating_point<T>) | |
constexpr T | v8::base::internal::AbsWrapper (T value) |
#define BASE_HAS_OPTIMIZED_SAFE_MATH (0) |
Definition at line 31 of file safe_math_shared_impl.h.
#define BASE_NUMERIC_ARITHMETIC_OPERATORS | ( | CLASS, | |
CL_ABBR, | |||
OP_NAME, | |||
OP, | |||
CMP_OP ) |
Definition at line 185 of file safe_math_shared_impl.h.
#define BASE_NUMERIC_ARITHMETIC_VARIADIC | ( | CLASS, | |
CL_ABBR, | |||
OP_NAME ) |
Definition at line 178 of file safe_math_shared_impl.h.