Anonymous user
Talk:Arbitrary-precision integers (included): Difference between revisions
Talk:Arbitrary-precision integers (included) (view source)
Revision as of 11:50, 12 September 2020
, 3 years ago→Use of external libraries
Line 3:
Interestingly, because the fixed const value is needed, the perfect solution may be just one liner hardcoded ''print("62060698786608744707 ... 92256259918212890625")''. And the "bad" solution is any implementation of Muḥammad ibn Mūsā al-Khwārizmī algorithms.
'''The task has is not well-defined.''' Different programming languages are different. Some are monolithic (such as Pascal). Others are modular
Therefore, the task should be modified. It should be allowed to use external libraries (from generally available repositories such as PyPI, CPAN etc.) - and '''when there is no arbitrary arythmetic''' in such standard libraries then showing how the goal can be achieved using standard language mechanisms. Standard mechanisms '''should be understood as ''write functions, procedures, classes, etc., to perform what is necessary.'''''
|