2/ SALLY STRUTHERS: Got a list of positive floating points you need sorted? Don't let that O(n log n) runtime get you down. Did you know you can lexicographically sort floats by their binary representation? Now you can do it O(n) with radix sort. Won't that impress your boss? [Gulps.]

Shane Celis
@shanecelis@mastodon.gamedev.place
Post
-
SALLY STRUTHERS: Do you use floats? -
SALLY STRUTHERS: Do you use floats?SALLY STRUTHERS: Do you use floats? Sure. We all do. But did you know a + b + c ≠ c + b + a with many floats? No. Well, neither did I, but with this one PDF you can become a fount of floating-point foibles to impress and depress your colleagues around the water cooler. Isn't this fun?