224

Image of character from Team Fortress 2 saying "I fear no man" labelled Opengl Programmers "But that thing..." Tranparency "It scares me."

you are viewing a single comment's thread
view the rest of the comments
[-] deegeese@sopuli.xyz 36 points 10 months ago

You can use an O(n) radix sort on the Z-values because IEEE-754 floats share the integer property that leftmost bits always have higher values than rightward ones.

[-] technohacker@programming.dev 26 points 10 months ago

Oh that just made it click in my head why they would do it as sign, exponent, mantissa and not sign, mantissa, exponent. I mean yes I've been taught it's for sorting purposes, but this really helped it fit better. Thanks!

load more comments (4 replies)
this post was submitted on 29 Aug 2023
224 points (97.5% liked)

Programmer Humor

18253 readers
743 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS