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.
Yes, but… “leftmost” in this case means MSB-sidemost, so little-endian systems will start sorting from the MSB only after loading the full value in a register; if you try sorting directly from memory in binary chunks smaller than the float size, first locate where the MSB is stored.
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!
As a someone who frequently argues with IT teams over ridiculous hidden password rules that drive crappy user experience I feel triggered by this game.
Hmm usually this is where you use the “reset” command in your terminal. Yes there’s a command that’s specifically for dispelling demons. Not sure how do in vscode, as I am a NeoVim elitist asshole
programmer_humor
Active
This magazine is from a federated server and may be incomplete. Browse more on the original instance.