News for hackers. Stuff that matters.
Re:The secret life of NaN by rdtsc on Thursday April 05, 2018 @11:56AM (#16766056)
> the double-precision format has 52 bits for the mantissa, which means there are 51 bits available for the payload.

I have seen data passed through the NaN payload in C in a signal processing application. It was both vile and genius at the same time. Vile because of how hackish it was, genius because it avoided a larger redesign of the application.

Re:The secret life of NaN by hermitdev on Thursday April 05, 2018 @09:03PM (#16770147)
First thought I had when reading about this is that the unused bits would be perfect for potentially reporting a cause of the NaN. A bit hackish, sure, but potentially useful, especially in C where you don't have exceptions that can carry human readable explanations of what wrong to arrive at a NaN.