---
title: "f32T: constant in Types, TypeShade API reference"
description: "f32T, a constant in Types. The f32 scalar type, the DSL's default numeric type…"
url: https://typeshade.dev/api/f32t/
language: en
---

# `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

```ts
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`](https://typeshade.dev/api/f64t/).

## See also

- [`f64T`](https://typeshade.dev/api/f64t/)

## Source

[`src/core/ir/types/scalar-types.ts`, line 10](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/scalar-types.ts#L10), at commit af54ddad5
