← All resources

Floor and Ceil Versus Denormals on CPU and GPU

Auto-discovered

Blog Advanced

Adam Sawicki

Visit resource ↗

Description

Floor and Ceil Versus Denormals on CPU and GPU is a technical blog article by Adam Sawicki.

Blog examining how floor and ceil behave on subnormal floats when platforms preserve denormals versus flush them to zero, with tests across x86 CPU and Nvidia, Intel, and AMD GPUs under HLSL/DXC flags. Notes DirectX denorm-flush requirements and provides bit-trick HLSL helpers for deterministic results. For graphics programmers chasing cross-device floating-point consistency.

It is aimed at advanced graphics programmers and matches the audience implied by Adam Sawicki's other work.

The article is a free HTML blog post meant to be read in one sitting, with diagrams or code snippets embedded in the page.

It is useful when you want practical detail beyond a title or store listing and prefer primary-source explanation from the author or maintainer.