f32
Type in Runtime
An f32 as a host value (Rule 8.21): a number, which a call rounds as a buffer write rounds it.
import type { f32 } from 'typeshade/runtime'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
type f32 = number & { readonly [tag]?: 'f32' };Description
A plain number is an f32; a value of another name of the family is not.
In the guide
Source
src/runtime/host-types.ts, line 44, at commit af54ddad5