v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
util.h File Reference
#include <stdint.h>
#include <type_traits>
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::bigint
 

Macros

#define DIV_CEIL(x, y)
 

Functions

constexpr int v8::bigint::RoundUp (int x, int y)
 
template<typename T >
requires (std::is_unsigned<T>::value && sizeof(T) == 8)
constexpr int v8::bigint::CountLeadingZeros (T value)
 
constexpr int v8::bigint::CountLeadingZeros (uint32_t value)
 
constexpr int v8::bigint::CountTrailingZeros (uint32_t value)
 
constexpr int v8::bigint::BitLength (int n)
 
constexpr bool v8::bigint::IsPowerOfTwo (int value)
 

Macro Definition Documentation

◆ DIV_CEIL

#define DIV_CEIL ( x,
y )
Value:
(((x)-1) / (y) + 1)
int y
int x

Definition at line 19 of file util.h.