rsub

HC Arithmetic Rational numbers rsub
radd rmul

rsub ratio1 ratio2 (library procedure)


outputs a rational number as a list of two numbers, nominator and denumerator, which is the difference of the two input rationals.

Example:

rsub [1 2][3 4]	; 1/2-3/4=-1/4	;[-1 4] ;-)

radd rmul