absolute and signum functions with overrides