fix bad definition of transcendental function