News for hackers. Stuff that matters.
Re:The Secret Life of NaN by addaon on Tuesday April 28, 2026 @11:53AM (#47936203)
What's the cost of this in terms of not being able to bzero() simple data structures, or use OS-cleared pages directly without dirtying them? This seems like it would turn some sparse memory usage patterns dense…
Re:The Secret Life of NaN by WalterBright on Tuesday April 28, 2026 @12:43PM (#47936923)
You can always statically initialize them with 0:

    static float[10] array = 0.0;