vec2f64T
상수, 타입 분류
A 2-component emulated-double vector, logically vec2<f64>.
import { vec2f64T } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const vec2f64T: { readonly kind: "vec64"; readonly n: 2; }설명
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.
관련 가이드
함께 보기
소스
src/core/ir/types.ts, 385행, 커밋 c66579bf 기준