sqrt(int) should assert for negative input instead of returning 0