What programming language will enable me to enter a very long number without converting it to floating point?

后端 未结 14 838
情书的邮戳
情书的邮戳 2020-12-11 21:17

What would be the best way to do the following.

Enter a very long number, lets say 500,000 digits long without it going into scientific notation; and then am able to

14条回答
  •  北海茫月
    2020-12-11 21:20

    Mathematica allows you to do such math and you can write complete programs in it.

    Otherwise, what you seek is a "library" to extend the built-in functionality of another programming language, such as Python or Java.

    In the case of Python, the decimal module enables you to specify a precision in which math operations will be peformed.

提交回复
热议问题