f32T
Constant in Types
The f32 scalar type, the DSL's default numeric type: what a bare numeric literal lifts to (lift(3) is a Node<'f32'>) and what most builtins return.
import { f32T } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const f32T: { readonly kind: "scalar"; readonly scalar: "f32"; }Description
Use
it to type an fn parameter, a resource or uniform field, or a struct field that must
hold a native float; for emulated double precision use f64T.
See also
Source
src/core/ir/types/scalar-types.ts, line 10, at commit af54ddad5