vec2f64T
On this page

vec2f64T

Constant in Types

A 2-component emulated-double vector, logically vec2<f64>.

import { vec2f64T } from 'typeshade/core/ir'

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

Syntax

const vec2f64T: { readonly kind: "vec64"; readonly n: 2; }

Description

Before emit it is rewritten into a struct of two vec2<f32> planes, hi and lo, and componentwise arithmetic runs on the whole planes at once. The usual carrier for a position in world units that must survive far more than f32’s roughly 7 significant digits; see f64T for what is emulated and what it costs.

See also

Source

src/core/ir/types/f64-types.ts, line 72, at commit af54ddad5

Edit this page Report a problem