sign



I want to get the result of calculation (simplification) 
 
          assume( x>0, x<%pi/2 );
          sign(cos(x)); 

I expect to get 1, whereas MAXIMA returns:
 
         pnz


Leon