Added missing is_negative() inline function.