---
title: "f64: type in Runtime, TypeShade API reference for developers"
description: "f64, a type in Runtime. An f64 (Rule 4.4) as a host value: a number, kept as a double."
url: https://typeshade.dev/api/f64-type/
language: en
---

# `f64`

Type in Runtime

An `f64` (Rule 4.4) as a host value: a number, kept as a double.

`import type { f64 } from 'typeshade/runtime'`

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

## Syntax

```ts
type f64 = number & { readonly [tag]?: 'f64' };
```

## In the guide

- [Values and mutation](https://typeshade.dev/guide/internals/values-and-mutation/)
- [The CPU oracle](https://typeshade.dev/guide/internals/the-cpu-oracle/)
- [fp64](https://typeshade.dev/guide/internals/fp64/)

## Source

[`src/runtime/host-types.ts`, line 46](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L46), at commit af54ddad5
