math.parser vocabulary
Factor handbook ยป Vocabulary index


Documentation
Converting between numbers and strings

Metadata
Parents:math
Tags:math
Authors:Slava Pestov


Words

Tuple classes
ClassSuperclassSlots
invalid-radix tupleradix


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


Ordinary words
WordStack effect
#( n -- )
>base-digits( n radix -- seq )
>bin( n -- str )
>dec( n -- str )
>digit( n -- ch )
>digits( n -- seq )
>hex( n -- str )
>oct( n -- str )
base-digits>( seq radix -- n )
base>( str radix -- n/f )
bin>( str -- n/f )
dec>( str -- n/f )
digit>( ch -- n )
digits>( seq -- n )
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


Metadata files


Children
VocabularySummary
math.parser.private