Ayoob AI
Algorithms

IEEE 754 Float Radix Sort

A non-comparison sorting algorithm that transforms floating-point bit patterns into sort-order-preserving unsigned integers, enabling linear-time radix sort on real-valued numerical data.

How it works

Standard comparison-based sorts operate in O(n log n) time regardless of data type. IEEE 754 float radix sort exploits the binary structure of floating-point numbers: positive floats are already in sort order when interpreted as unsigned integers, and negative floats sort correctly after a conditional bit flip. By applying this transformation, the entire dataset can be sorted using radix sort in O(n) time. This technique is particularly effective on GPU architectures where comparison-based sorts suffer from branch divergence, while radix sort maps naturally to parallel prefix-sum operations. Ayoob AI holds a pending patent (GB2606693.6) on an adaptive sorting engine built on this principle.

Want to see this technology in action?

Book a Discovery Call