WebAssembly value types
Value types classify the values used in computation.
Value types classify the values used in computation.
- [`i32`](/docs/WebAssembly/Reference/Value_types/i32)
- : A 32-bit integer. Interpreted as signed or unsigned per instruction.
- [`i64`](/docs/WebAssembly/Reference/Value_types/i64)
- : A 64-bit integer. Interpreted as signed or unsigned per instruction.
- [`f32`](/docs/WebAssembly/Reference/Value_types/f32)
- : A 32-bit single-precision floating-point value.
- [`f64`](/docs/WebAssembly/Reference/Value_types/f64)
- : A 64-bit double-precision floating-point value.
- [`v128`](/docs/WebAssembly/Reference/Value_types/v128)
- : A 128-bit vector of packed integer or floating-point data, manipulated by [SIMD instructions](/docs/WebAssembly/Reference/SIMD).
- [`funcref`](/docs/WebAssembly/Reference/Value_types/funcref)
- : A reference to a function defined in Wasm, allowing higher-order functions to be called across the Wasm and JavaScript language boundaries.
- [`exnref`](/docs/WebAssembly/Reference/Value_types/exnref)
- : Represents a thrown exception in a Wasm module, allowing it to be rethrown.
- [`externref`](/docs/WebAssembly/Reference/Value_types/externref)
- : A reference to a host value (for example a JavaScript object), opaque to Wasm code.
Cite this
"WebAssembly value types". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/WebAssembly/Reference/Value_types