(texdraw)Real arithmetic


Next: Arrow curve Prev: Coordinate parsing Up: TeXdraw Toolbox
Enter node , (file) or (file)node

B.2 Real arithmetic
===================

The TeXdraw toolbox supplies macros to perform real arithmetic on
coordinate values.  The result appears as the value of a user supplied
macro name.
'\realadd {VALUE1} {VALUE2} \SUM'
     Add two real quantities, assigning the resultant character string
     representing the sum to the macro '\SUM'.
'\realmult {VALUE1} {VALUE2} \PROD'
     Multiply two real quantities, assigning the resultant character
     string representing the product to the macro '\PROD'.
'\realdiv {VALUE1} {VALUE2} \RESULT'
     Divide two real quantities, assigning the resultant character
     string representing the result of VALUE1/VALUE2 to the macro
     '\RESULT'.


automatically generated by info2www version 1.2.2.9