Talk:Arbitrary-precision integers (included): Difference between revisions

Line 1:
==Use of external libraries==
 
Interestingly, because fixed const value the perfect solution may be just one liner '''print("62060698786608744707 ... 92256259918212890625")'''. And the "bad" solution is any implementation of Muḥammad ibn Mūsā al-Khwārizmī algorithms. It make no sense!
 
''The task has is not well-defined.'' Different programming languages are different. Some are monolithic (such as Pascal). Others are modular in design.
 
Therefore, the task should be modified. It should be allowed to use external libraries (especially from generally available standard 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.''''' --[[User:Anonymous31415927|Anonymous31415927]] ([[User talk:Anonymous31415927|talk]]) 11:05, 12 September 2020 (UTC)
 
 
I ''strongly'' recommend allowing the use of external libraries in the case where the language doesn't have inherent bignum support. Otherwise, you would need a more generalized task, and I don't see a point to the example code duplication that would require. --[[User:Short Circuit|Michael Mol]] 08:33, 13 February 2010 (UTC)