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

Go to the source code of this file.

Classes

class  v8::bigint::ProcessorImpl
 
class  v8::bigint::Storage
 
class  v8::bigint::ScratchDigits
 

Namespaces

namespace  v8
 
namespace  v8::bigint
 

Macros

#define CHECK(cond)
 
#define DCHECK(cond)
 
#define USE(var)
 

Functions

constexpr int v8::bigint::DivideBarrettScratchSpace (int n)
 
constexpr int v8::bigint::InvertNewtonScratchSpace (int n)
 
constexpr int v8::bigint::InvertScratchSpace (int n)
 

Variables

constexpr int v8::bigint::kKaratsubaThreshold = 34
 
constexpr int v8::bigint::kToomThreshold = 193
 
constexpr int v8::bigint::kFftThreshold = 1500
 
constexpr int v8::bigint::kFftInnerThreshold = 200
 
constexpr int v8::bigint::kBurnikelThreshold = 57
 
constexpr int v8::bigint::kNewtonInversionThreshold = 50
 
constexpr int v8::bigint::kToStringFastThreshold = 43
 
constexpr int v8::bigint::kFromStringLargeThreshold = 300
 
constexpr int v8::bigint::kInvertNewtonExtraSpace = 5
 

Macro Definition Documentation

◆ CHECK

#define CHECK ( cond)
Value:
if (!(cond)) { \
std::cerr << __FILE__ << ":" << __LINE__ << ": "; \
std::cerr << "Assertion failed: " #cond "\n"; \
abort(); \
}

Definition at line 116 of file bigint-internal.h.

◆ DCHECK

#define DCHECK ( cond)
Value:
(void(0))

Definition at line 126 of file bigint-internal.h.

◆ USE

#define USE ( var)
Value:
((void)var)

Definition at line 129 of file bigint-internal.h.