IEEE 754
2 articles on IEEE 754 from Ayoob AI, the full code AI automation agency based in Newcastle upon Tyne.
Bypassing Array.prototype.sort() with IEEE 754 Bit-Transforms
V8's TimSort coerces numbers to strings and cannot use parallel hardware. Our Adaptive Multi-Tier Sorting System transforms IEEE 754 floats to sort-order-preserving unsigned integers using two bitwise operations, enabling radix-256 sort on CPU workers and a two-phase GPU bitonic-merge sort with 1.45x speedup over Web Workers at 5M+ elements on discrete GPU.
IEEE 754 Bit-Transforms for High-Speed Float Processing in JavaScript
JavaScript uses Float64. WebGPU requires Float32. The IEEE 754 bit-transform (Herf 2001) converts floats to sort-order-preserving unsigned integers. Our contribution is the Float32 safety guard that inhibits GPU dispatch when Float64-to-Float32 truncation would alter sort order, plus the adaptive multi-tier dispatch system.
Want to discuss ieee 754 for your business?
Book a Discovery Call