Skip to content

stp_number.dir@_utils.h.dir@_STP_Number_cmp_abs

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

  Summary:  Compare absolute magnitude of rhs and lhs.

  Args:     const STP_Number* lhs
              .
            const STP_Number* rhs
              .

  Returns:  int
              1 if lhs > rhs, 0 if lhs == rhs, -1 if lhs < rhs.

  Requires: * lhs and rhs are not NULL.
-----------------------------------------------------------------F-F

Clone this wiki locally