[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.1.6 Arithmetic Functions

03DBC #+ ( # #' → #+#' )
03DEF #1+ ( # → #+1 )
03E2D #2+ ( # → #+2 )
355FD #3+ ( # → #+3 )
35602 #4+ ( # → #+4 )
35607 #5+ ( # → #+5 )
3560C #6+ ( # → #+6 )
35611 #7+ ( # → #+7 )
35616 #8+ ( # → #+8 )
3561B #9+ ( # → #+9 )
35620 #10+ ( # → #+10 )
35625 (#11+) ( # → #+11 )
3562A #12+ ( # → #+12 )
03DE0 #- ( # #' → #-#' )
2F13D (DIFF_OR_ZERO) ( # #' → #" )
If #' is greater than #, returns #0, otherwise returns #-#'.
03E0E #1- ( # → #-1 )
03E4E #2- ( # → #-2 )
355DF #3- ( # → #-3 )
355DA #4- ( # → #-4 )
355D5 #5- ( # → #-5 )
355D0 #6- ( # → #-6 )
355CB (#7-) ( # → #-7 )
355C6 (#8-) ( # → #-8 )
355C1 (#9-) ( # → #-9 )
03EC2 #* ( # #' → #*#' )
2632D #*OVF ( # #' → #*#' )
0 ≤ result ≤ FFFFF
03E6F #2* ( # → #*2 )
270DA #3* ( # → #*2 )
270BF #5* ( # → #*2 )
356B8 #6* ( # → #*6 )
3569B #8* ( # → #*8 )
35675 #10* ( # → #*10 )
03EF7 #/ ( # #' → #r #q )
03E8E #2/ ( # → #/2 )
Rounded down.
36815 #1-- ( # #' → #-#'+1 )
aka: #-+1
36851 #1-+ ( # #' → #+#'-1 )
$1-+ is a typo in EXTABLE. aka: #+-1, $1-+
35552 #-#2/ ( # #' → (#-#')/2 )
357FC #+DUP ( # #' → #+#' #+#' )
35E39 #+SWAP ( ob # #' → #+#' ob )
36093 #+OVER ( ob # #' → ob #+#' ob )
3581F #-DUP ( # #' → #-#' #-#' )
35E4D #-SWAP ( ob # #' → #-#' ob )
360A7 #-OVER ( ob # #' → ob #-#' ob )
35830 #1+DUP ( # → #+1 #+1 )
35E61 #1+SWAP ( ob # → #+1 ob )
2F222 #1+ROT ( ob ob' # → ob' #+1 ob )
35841 #1-DUP ( # → #-1 #-1 )
28071 #1-SWAP ( ob # → #-1 ob )
aka: pull
3601B #1-ROT ( ob ob' # → ob' #-1 ob )
281D5 #1-UNROT ( ob ob' # → #-1 ob ob' )
35E89 #1-1SWAP ( # → 1 #-1 )
Returns the bint ONE and the result.
35912 DUP#1+ ( # → # #+1 )
3571E DUP#2+ ( # → # #+2 )
35956 DUP#1- ( # → # #-1 )
3674D 2DUP#+ ( # #' → # #' #+#' )
aka: DUP3PICK#+
3683D DROP#1- ( # ob → #-1 )
357BB SWAP#- ( # #' → #'-# )
3592B SWAP#1+ ( meta ob → meta&ob )
aka: SWP1+
29786 ('RSWP1+) ( # → nob #+1 )
nob is the next object in the runstream.
28099 SWAP#1+SWAP ( # ob → #+1 ob )
36829 SWAP#1- ( # ob → ob #-1 )
280AD SWAP#1-SWAP ( # ob → #-1 ob )
28989 (SWAPDROP#1-) ( ob # → #-1 )
367ED SWAPOVER#- ( # #' → #' #-#' )
36775 OVER#+ ( # #' → # #'+# )
367C5 OVER#- ( # #' → # #'-# )
28286 (OVER#1-) ( # #' → # #' #" )
36761 ROT#+ ( # ob #' → ob #'+# )
367B1 ROT#- ( # ob #' → ob #'-# )
36801 ROT#1+ ( # ob ob' → ob ob' #+1 )
28001 ROT#1+UNROT ( # ob ob' → #+1 ob ob' )
35E07 ROT#+SWAP ( # ob #' → #'+# ob )
aka: ROT+SWAP
36789 3PICK#+ ( # ob #' → # ob #'+# )
28804 (3PICK#1+) ( # ob ob' → # ob ob' #' )
287E6 (3PICK#2+) ( # ob ob' → # ob ob' #' )
3679D 4PICK#+ ( # ob1 ob2 #' → # ob1 ob2 #'+# )
35E20 4PICK#+SWAP ( # ob1 ob2 #' → # ob1 #'+# ob2 )
aka: 4PICK+SWAP
35511 #MIN ( # #' → #" )
3551D #MAX ( # #' → #" )
03EB1 #AND ( # #' → #" )
Bitwise AND.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Carsten Dominik on May, 30 2005 using texi2html