added max and min
[rrq/rrqforth.git] / adoc / p_max.adoc
1 // math.asm:    WORD p_max, 'MAX',fasm
2
3 anchor:p_max[]
4
5 === Word: MAX
6
7 ....
8 Data stack: ( v1 v2 -- v3 )
9 ....
10
11 "MAX" is a function word that selects the greatest of v1 and v2. To
12 that end, the values are 64-bit signed integers.