Function sum

  • Accurately add up elements from an iterable using Shewchuk's algorithm.

    Parameters

    • iterable: Iterable<number>

      Numbers to sum together.

    Returns number

    The sum of the elements.