Alternate non-branching extension of sign function