Now that we have a helper function for the unsigned variants, we can modify it to also be usable with the signed variants.