changed NZD to use DBL_EPSILON instead of DBL_MIN