Skip to content

stp_number.dir@_utils.h.dir@_STP_Number_mul_exp

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

  Summary:  Quickly multiply num be an exponent of 10, i.e., 10^diff_scale.

  Args:     STP_Number* num
              .
            uint64_t diff_scale
              .

  Returns:  int
              1 if successful, 0 if not.

  Requires: * num is not NULL

  Modifies: arr of num
-----------------------------------------------------------------F-F

Clone this wiki locally