Back to browse
GitHub Repository
11 starsRust

IEEE-754-Conformant FP64 on Metal (Apple Silicon)

by guyfischman·May 8, 2026·1 point·1 comment

AI Analysis

●●●BangerWizardryNiche Gem

Bit-exact f64 emulation on Metal GPUs where Apple's native double support is missing.

Strengths
  • Pure integer operations on bit patterns enable deterministic math on GPUs lacking f64.
  • Includes unpacked path for tight inner loops skipping special-case dispatch overhead.
  • Rust reference implementation ensures bit-exact verification between GPU and CPU.
Weaknesses
  • Extremely niche audience limited to those needing precise float math on Metal specifically.
  • Performance overhead compared to native f32 operations may limit real-time use cases.
Target Audience

Graphics programmers and simulation engineers on Apple Silicon

Similar To

SoftFloat · Cuda Softfloat

Similar Projects