---
title: "Fp64GuardHandle: interface in Emulated f64, TypeShade API"
description: "Fp64GuardHandle, an interface in Emulated f64. The value fp64Guard returns: a binding declaration for the _fp64 guard texture, pinned to the caller's chosen."
url: https://typeshade.dev/api/fp64guardhandle/
language: en
---

# `Fp64GuardHandle`

Interface in Emulated `f64`

The value fp64Guard returns: a binding declaration for the \_fp64 guard texture, pinned to the caller's chosen.

`import type { Fp64GuardHandle } from 'typeshade'`

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

## Syntax

```ts
interface Fp64GuardHandle {
  readonly type: ShaderType;
  readonly binding: BindingDecl;
}
```

## Description

Pass it inside a module’s `uses: [...]` only when the host’s bind-group layout is fixed and needs the guard at a specific slot. Leaving it out is the common case: [`fp64Lower`](https://typeshade.dev/api/fp64lower/) adds the binding at group 0, in the first free slot, to any module whose lowered code calls a guarded df64 helper. A module that pins a slot here but also declares a conflicting `_fp64` binding elsewhere (a different type or space) fails emit with [`SD0042`](https://typeshade.dev/reference/errors/sd0042/).

## Instance properties

**`type` read only `ShaderType`**

The binding’s shader type: a 2D `f32` texture.

**`binding` read only `BindingDecl`**

The binding declaration, ready for a module’s `uses: [...]`.

## See also

- [`fp64Guard`](https://typeshade.dev/api/fp64guard/)
- [`fp64Lower`](https://typeshade.dev/api/fp64lower/)

## Source

[`src/core/fp64/df64-lib.ts`, line 109](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/fp64/df64-lib.ts#L109), at commit af54ddad5
