MAX


Next: MIN Up: COD Command Summary Previous: LOOP

MAX

Replace the top two numbers in the stack with the maximum of the two numbers.

Example:

 1.0 3.0 5.0
COD> MAX
 1.0 5.0



Web Page Maintained by: Dr. Lawrence E. Brown elwin@redshift.gsfc.nasa.gov