|
From: Ethan M. <merritt@u.washington.edu> - 2006-06-02 17:33:13
|
On Friday 02 June 2006 10:24 am, Daniel J Sebald wrote: > Should gnuplot be giving this kind of result? > > gnuplot> print -3! > -6.0 operator precedence. factorial trumps negation. gnuplot> print (-3)! 1.0 which is still a bit unexpected, but shows that negative input is treated as being zero. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle WA |