>>>>> "lm" == leon magiera <leon.magiera at wp.pl> writes: lm> I want to get the result of calculation (simplification) lm> assume( x>0, x<%pi/2 ); lm> sign(cos(x)); lm> I expect to get 1, whereas MAXIMA returns: lm> pnz I just hit that today, too. For {-1,0,1} use signum(). Cf: ? sign vs ? signum -JimC -- James Cloos <cloos at jhcloos.com> OpenPGP: 1024D/ED7DAEA6