Number Conversion
 #

numbersign ( ud1  ud2 )

Divide ud1 by the number in BASE giving the quotient ud2 and the remainder n. (n is the leastsignificant digit of ud1.) Convert n to external form and add the resulting character to the beginning of the pictured numeric output string. An ambiguous condition exists if #
executes outside of a <# #> delimited number conversion.
>

numbersigngreater ( xd  caddr u )

Drop xd. Make the pictured numeric output string available as a character string. caddr and u specify the resulting character string. A program may replace characters within the string.
S

numbersigns ( ud1  ud2 )

Convert one digit of ud1 according to the rule for #. Continue conversion until the quotient is zero. ud2 is zero. An ambiguous
condition exists if #S executes outside of a <# #> delimited number conversion.
 <#

lessnumbersign (  ), Initialize the pictured numeric output conversion process.
 >NUMBER

tonumber ( ud1 caddr1 u1  ud2 caddr2 u2 )

ud2 is the unsigned result of converting the characters within the string specified by caddr1 u1 into digits, using the number in BASE, and adding each into ud1 after multiplying ud1 by the number in BASE. Conversion continues lefttoright until a character that is not convertible, including any + or , is encountered or the string is entirely converted. caddr2 is the location of the first unconverted character or the first character past the end of the string if the string was entirely converted. u2 is the number of unconverted characters in the string. An ambiguous condition exists if ud2 overflows during the conversion.
 BASE

(  aaddr )

aaddr is the address of a cell containing the current
numberconversion radix
2...36
.
 DECIMAL

(  ), Set the numeric conversion radix to ten (decimal).
 HOLD

( char  )

Add char to the beginning of the pictured numeric output string. An ambiguous condition exists if HOLD executes outside of a
<# #> delimited number conversion.
 S>D

stod ( n  d )

Convert the number n to the doublecell number d with the same numerical value.
 SIGN

( n  )

If n is negative, add a minus sign to the beginning of the pictured numeric output string. An ambiguous condition exists if SIGN
executes outside of a <# #> delimited number conversion.