f64 에뮬레이션
export 10개
f64가 없는 대상에서 쓰는 배정밀도입니다. f32 레인 두 개에 나눠 담아 계산합니다.
시그니처, 설명, 예제는 커밋 26de7be8의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
-
FP64_GUARD_NAME상수 - The fixed name ('_fp64') of the guard texture binding that fp64Lower adds to every module whose lowered code calls a guarded df64 helper.
-
Fp64Flavor타입 - Which arithmetic primitives back the emulated-double (df64) helper functions that fp64Lower injects.
-
Fp64FlavorSignals인터페이스 - The device-identification signals recommendFp64Flavor and isAppleGpu read to pick the df64 flavour a device needs: 'integer' on Apple GPUs, where Metal runs underneath, and 'float' everywhere else.
-
fp64Guard함수 - Pin the slot of the fp64 guard texture.
-
Fp64GuardHandle인터페이스 - The value fp64Guard returns: a binding declaration for the _fp64 guard texture, pinned to the caller's chosen.
-
fp64Lower함수 - Rewrite every f64 value in a module into its two-f32 emulation, so that no backend has to spell the type.
-
Fp64LowerOptions인터페이스 - Options for fp64Lower.
-
isAppleGpu함수 - True when any signal identifies an Apple GPU / Metal-backed context.
-
recommendFp64Flavor함수 - Pick the df64 flavour a device needs for correct results, from whatever identifying signals a host has.
-
splitF64함수 - Split a JavaScript double into the high and low f32 pair an f64T value carries on the GPU.