Multiplication of very long integers

后端 未结 7 1751
日久生厌
日久生厌 2021-02-09 05:57

Is there an algorithm for accurately multiplying two arbitrarily long integers together? The language I am working with is limited to 64-bit unsigned integer length (maximum int

相关标签:
7条回答
  • 2021-02-09 06:58

    This is often given as a homework assignment. The algorithm you learned in grade school will work. Use a library (several are mentioned in other posts) if you need this for a real application.

    0 讨论(0)
提交回复
热议问题