math.parser vocabulary
Factor handbook > Vocabulary index


Documentation
Converting between numbers and strings

Meta-data
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
invalid-radix tupleradix


Generic words
WordStack effect
>base( n radix -- str )


Ordinary words
WordStack effect
#( n -- )
>bin( n -- str )
>digit( n -- ch )
>hex( n -- str )
>oct( n -- str )
base>( str radix -- n/f )
bin>( str -- n/f )
bytes>hex-string( bytes -- hex-string )
dec>( str -- n/f )
digit>( ch -- n )
hex-string>bytes( hex-string -- bytes )
hex>( str -- n/f )
invalid-radix( radix -- * )
number>string( n -- str )
oct>( str -- n/f )
string>digits( str -- digits )
string>number( str -- n/f )


Class predicate words
WordStack effect
invalid-radix?( object -- ? )


Files


Children
VocabularySummary
math.parser.privatemath.parser.private vocabulary