Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for BigInt.
Encyclopedia 0
This corpus is unavailable: timeout
Books 0
This corpus is unavailable: timeout
Developer library 6
Page types
A JavaScript class is defined as an intrinsic function object with a `prototype` property that gets shared by all instances of the class. By this definition, `BigInt` is a class too, despite it not being callable with `new`. #### Examples - [`Array`](/docs/Web/JavaScript/Reference/Global_Objects/Array) - [`BigInt`](/docs/Web/JavaScript/Reference/Global_Objects/BigInt) - [`Map`](/docs/Web/JavaScript/Reference/Globa
WebAssembly.Memory
Using a 64-bit address The following snippet creates a new WebAssembly Memory instance with a 64-bit address type. The `initial` and `maximum` values must be BigInt values: ```js const memory = new WebAssembly.Memory({ address: "i64", initial: 1n, maximum: 10n, }); ``` ## Specifications ## Browser compatibility ## See also - [WebAssembly](/docs/WebAssembly) overview - [WebAssembly concepts](/docs/Web
WebAssembly.Memory() constructor
pe of the memory. This can be `"i32"` or `"i64"`. The default is `"i32"`. If `address` is `"i64"`, `initial` and `maximum`, if present, must be BigInt values. - `initial` - : The initial size of the WebAssembly Memory, in units of WebAssembly pages. - `maximum` - : The maximum size the WebAssembly Memory is allowed to grow to, in units of WebAssembly pages. When present, t
WebAssembly.Memory.prototype.grow()
: The number of WebAssembly pages you want to grow the memory by (each one is 64KiB in size). For memories with an address type of `"i64"`, this must be a BigInt value. ### Return value The previous size of the memory, in units of WebAssembly pages. For memories with an address type of `"i64"`, this is a BigInt value. ### Exceptions - RangeError: If the current size added with `delta` exceeds the Memory inst
WebAssembly.Global() constructor
data type of the global. This can be any one of: - `i32`: A 32-bit integer. - `i64`: A 64-bit integer. (In JavaScript, this is represented as a BigInt) - `f32`: A 32-bit floating point number. - `f64`: A 64-bit floating point number. - [`funcref`](/docs/WebAssembly/Reference/Value_types/funcref) - [`externref`](/docs/WebAssembly/Reference/Value_types/externref) - `m
i64: Wasm value type
_: its bit pattern is observable, and `i64` values may be stored in [linear memory](/docs/WebAssembly/Reference/Memory). ### `i64` integration with JavaScript BigInt JavaScript's `Number` type cannot losslessly represent the full `i64` range, therefore `i64` values are converted to [`BigInt`](/docs/Web/JavaScript/Reference/Global_Objects/BigInt) values (and vice versa) when they cross the JavaScript boundary; for e