---
title: "Float64Key: type in Types, TypeShade API reference"
description: "Float64Key, a type in Types. The emulated-double keys, 'f64' and the f64 vectors."
url: https://typeshade.dev/api/float64key/
language: en
---

# `Float64Key`

Type in Types

The emulated-double keys, '`f64`' and the `f64` vectors.

`import type { Float64Key } from 'typeshade'`
`import type { Float64Key } from 'typeshade/core/ir'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
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`](https://typeshade.dev/api/floatkey/), so an `f64` argument to one is a `tsc` error at the authoring site.

## See also

- [`FloatKey`](https://typeshade.dev/api/floatkey/)

## Source

[`src/core/ir/node.ts`, line 1065](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/node.ts#L1065), at commit af54ddad5
