[Solved] How can I add two arbitrary large numbers in Go?

[ad_1]

who can help me? in php has bcadd function

bcadd and its friends are arbitrary precision arithmetic functions (that’s why they operate on strings and not floats). A float has limited precision. In effect, bcmath offers infinitely more precision than a float.

Use math/big.

0

[ad_2]

solved How can I add two arbitrary large numbers in Go?