Float64Key
Type in Types
The emulated-double keys, 'f64' and the f64 vectors.
import type { Float64Key } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
type Float64Key = 'f64' | `vec${number}<f64>`;Description
Only the builtins with an f64
emulation accept them: abs, floor, fract, sin, cos, min, max, mix, vector
normalize and scalar sqrt. Every other builtin bounds its key to FloatKey, so
an f64 argument to one is a tsc error at the authoring site.
See also
Source
src/core/ir/node.ts, line 1291, at commit 26de7be8