HPPCRT-28: Special NaN turns out a bad idea. Some refactorings though.