DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Floor and Ceil Versus Denormals on CPU and GPU

Quality: 8/10 Relevance: 9/10

Summary

The article investigates floor and ceil behavior on IEEE-754 floating-point numbers, focusing on denormals and whether CPUs or GPUs preserve or flush them. It includes platform tests (CPU vs Nvidia/Intel/AMD GPUs) and a deterministic HLSL workaround to ensure consistent results across architectures.

🚀 Service construit par Johan Denoyer