Replies: 1 comment 1 reply
-
|
Awsome! Imagine you're doing subtraction on paper with a pen, but the numbers are so big that you can't fit them all on one line. This code can help you with that. It works by lining up the numbers in neat columns, so that you can subtract them one digit at a time. Then it combines the results into a new number. This code is useful because it lets you subtract very large numbers without having to worry about making mistakes. It can also be used in a variety of applications, such as finance and scientific computing |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
最近翻箱倒柜的时候找到了一年前写的一些有意思的代码。
其中一个是用类型编程在数千(或许数万也行)字符长的BigInt类型字面量间做减法。
不过就是那个时候码风太烂了…
Beta Was this translation helpful? Give feedback.
All reactions