Handling of negative numbers