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

Floor and Ceil Versus Denormals on CPU and GPU analyzes how floor, ceil, trunc, and round behave with subnormal floats on CPU and GPU, highlighting platform differences in preserving versus flushing denormals and the resulting nondeterminism. The piece also offers a deterministic HLSL workaround for consistent floor/ceil behavior across hardware.

🚀 Service construit par Johan Denoyer