If sign gate