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

2.8.2 General Functions

0FE44 U>NCQ ( u → n%% cf%% qhxs )
Returns the number, conversion factor to base units and a vector in the form:
[ kg m A s K cd mol r sr ? ]
where each element represents the exponent of that unit. For example, 1_N U>NCQ would return:
%%1 %%1 [ 1 1 0 -2 0 0 0 0 0 0 ]
since it is equivalent to 1_kg*m/s^2
0F33A UM>U ( % u → u' )
Replaces number part of unit.
0F371 UMCONV ( u1 u2 → u1' )
Change units of unit1 to units of unit2.
0F945 UMSI ( u → u' )
Equivalent to user word UBASE.
0F34E UMU> ( u → % u' )
Returns number and normalized part of unit.
0F218 UNIT>$ ( u → $ )
Converts unit to string.
197C8 (UMFACT) ( u1 u2 → u )
Equivalent to user word UFACT.
10047 U>nbr ( u → % )
Returns number part of unit.
10065 Unbr>U ( u % → u' )
Replaces number part of unit.
0F41B TempConv ???
Used by UMCONV for the conversion of temperature units.
1553B KeepUnit ( % ob ob' → % ob )
( % ob u → u' ob )
If the level one object is a unit object, replaces the numeric part of it with the number on level 3. If not, just DROP.



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