2 ms·
I wonder how this could be done on hadware level. You can look at the NaN value as an implementation of Option / Maybe, where it means None. It even behaves li
by nine_k 10y ago
I wonder how this could be done on hadware level.
You can look at the NaN value as an implementation of Option / Maybe, where it means None. It even behaves like it should, short-circuiting any normal operations with it to also produce NaN. Too bad Fortran and C lack sum types to surface that properly on the type level.