units.reduction vocabulary
Factor handbook > Vocabulary index


Summary
Reduce units to most convenient format

Meta-data
Authors:Doug Coleman


Words

Tuple classes
ClassSuperclassSlots
bad-storage-string tuplestring reason


Parsing words
WordSyntax
STORAGE:


Ordinary words
WordStack effect
(storage>n)( string multiplier base -- n )
bad-storage-string( string reason -- * )
find-unit-suffix( suffixes n multiplier base -- i/f )
n>Storage( n -- string )
n>money( n -- string )
n>storage( n -- string )
reduce-magnitude( n multiplier base suffixes -- string )
storage-suffixes( -- value )
storage>n( string -- n )
threshhold( n multiplier base -- x )
unit-suffix-hash( -- value )


Class predicate words
WordStack effect
bad-storage-string?( object -- ? )


Files