Back to browse
GitHub Repository
9 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

Data●●Solid

Benchmarking Apple Silicon unified mem for GPU-accelerated SQL analysis

The repo does one practical thing well: quantify the real-world impact of Apple Silicon's unified memory on analytics by running six TPC-H queries plus a GPU-favorable QX and shipping the raw charts and code. It's specific and empirical — you get MLX vs NumPy vs DuckDB numbers and PNGs, not just hand-wavy claims — but it's narrowly scoped to M4 hardware and small-ish scales, so its conclusions are useful for experimentation rather than sweeping generalization.

WizardryNiche Gem
sadopc
313mo ago