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

2.1.6 Arithmetic Functions

03DBC #+ ( # #' → #+#' )
03DEF #1+ ( # → #+1 )
03E2D #2+ ( # → #+2 )
0E151 #3+ ( # → #+3 )
0E156 #4+ ( # → #+4 )
0E15B #5+ ( # → #+5 )
0E16A #8+ ( # → #+8 )
03DE0 #- ( # #' → #-#' )
03E0E #1- ( # → #-1 )
03E4E #2- ( # → #-2 )
0E133 #3- ( # → #-3 )
03F12 #* ( # #' → #*#' )
13A13 #*OVF ( # #' → #*#' )
0 ≤ result ≤ FFFFF
03E6F #2* ( # → #*2 )
03F47 #/ ( # #' → #r #q )
03E8E #2/ ( # → #/2 )
Rounded down.
0E0A6 #-#2/ ( # #' → (#-#')/2 )
0E350 #+DUP ( # #' → #+#' #+#' )
0F6D8 #+SWAP ( ob # #' → #+#' ob )
0F932 #+OVER ( ob # #' → ob #+#' ob )
0F6EC #-SWAP ( ob # #' → #-#' ob )
0F946 #-OVER ( ob # #' → ob #-#' ob )
0F700 #1+SWAP ( ob # → #+1 ob )
0F8BA #1-ROT ( ob ob' # → ob' #-1 ob )
0F728 #1-1SWAP ( # → 1 #-1 )
Returns the bint ONE and the result.
0E466 DUP#1+ ( # → # #+1 )
0FFE3 2DUP#+ ( # #' → # #' #+#' )
aka: DUP3PICK#+
100BF DROP#1- ( # ob → #-1 )
0E30F SWAP#- ( # #' → #'-# )
0E47F SWAP#1+ ( meta ob → meta&ob )
aka: SWP1+
14E94 'RSWP1+ ( # → nob #+1 )
nob is the next object in the runstream.
100AB SWAP#1- ( # ob → ob #-1 )
10083 SWAPOVER#- ( # #' → #' #-#' )
1000B OVER#+ ( # #' → # #'+# )
1005B OVER#- ( # #' → # #'-# )
108B2 OVER#1- ( # #' → # #' #" )
0FFF7 ROT#+ ( # ob #' → ob #'+# )
10047 ROT#- ( # ob #' → ob #'-# )
10097 ROT#1+ ( # ob ob' → ob ob' #+1 )
150FC ROT#1+UNROT ( # ob ob' → #+1 ob ob' )
0F6A6 ROT#+SWAP ( # ob #' → #'+# ob )
aka: ROT+SWAP
1001F 3PICK#+ ( # ob #' → # ob #'+# )
10033 4PICK#+ ( # ob1 ob2 #' → # ob1 ob2 #'+# )
0F6BF 4PICK#+SWAP ( # ob1 ob2 #' → # ob1 #'+# ob2 )
aka: 4PICK+SWAP
0E065 #MIN ( # #' → #" )
0E071 #MAX ( # #' → #" )
03EE1 #AND ( # #' → #" )
Bitwise AND.


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

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