Define and use the SIGN macro