To return 0 or NaN - I would lean towards NaN.