Implemented ticket #199
"Implement NaNs in zeroes and extrema"
Authored by: numere 2017-06-18
Parent: [r149]
Child: [r151]