Skip to content

stp_number.dir@_utils.h.dir@_STP_Number_add_abs

Andy Zhang edited this page Aug 7, 2026 · 2 revisions
F+F+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  Function: _STP_Number_add_abs

  Summary:  Add rhs to lhs without considering scales.

  Args:     STP_Number* lhs
              .
            const STP_Number* rhs
              .

  Returns:  int
              1 if successful, 0 if not

  Requires: * lhs and rhs are not null

  Note:     1. sign and scale are not used

  Modifies: size and arr of lhs
-----------------------------------------------------------------F-F

Clone this wiki locally