---
title: "PRE_EMIT_INTRINSICS: constant in Backends, TypeShade API"
description: "PRE_EMIT_INTRINSICS, a constant in Backends. The builtin ids that fp64Lower rewrites away before any backend runs: 'f64', 'f64FromParts' and 'f64Parts'."
url: https://typeshade.dev/api/preemitintrinsics/
language: en
---

# `PRE_EMIT_INTRINSICS`

Constant in Backends

The builtin ids that fp64Lower rewrites away before any backend runs: '`f64`', 'f64FromParts' and 'f64Parts'.

`import { PRE_EMIT_INTRINSICS } from 'typeshade'`

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

## Syntax

```ts
const PRE_EMIT_INTRINSICS: ReadonlySet<string>
```

## Description

Ids in [`PORTABLE_INTRINSICS`](https://typeshade.dev/api/portableintrinsics/) do reach [`spellIntrinsic`](https://typeshade.dev/api/spellintrinsic/); these must not. [`isKnownIntrinsic`](https://typeshade.dev/api/isknownintrinsic/) excludes them, so if one survives to a backend, that backend throws [`SD0040`](https://typeshade.dev/reference/errors/sd0040/) when it is asked to spell the `f64` type the call carries, and the failure is reported before the driver sees invalid source.

## See also

- [`fp64Lower`](https://typeshade.dev/api/fp64lower/)
- [`PORTABLE_INTRINSICS`](https://typeshade.dev/api/portableintrinsics/)
- [`spellIntrinsic`](https://typeshade.dev/api/spellintrinsic/)
- [`isKnownIntrinsic`](https://typeshade.dev/api/isknownintrinsic/)

## Source

[`src/core/intrinsics.ts`, line 1255](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/intrinsics.ts#L1255), at commit af54ddad5
