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

AI/ML●●●Banger

TurboQuant for mlx-lm (Apple Silicon)

Custom Metal kernels bring Google's TurboQuant KV-cache compression to Apple Silicon.

WizardrySolve My Problem
pythongiant
1113d ago
AI/ML●●●Banger

EdgeRunner – run GGUF models with Swift and Metal

Pure Swift inference engine beats llama.cpp without any C++ bindings.

WizardryZero to One
karc14
2015d ago