Bug 860543 - Account for testing shadowed NaNs. - r=bjacob