Trace:

handling_20very_20large_20numbers_20without_20using_20scientific_20notation

This shows you the differences between two versions of the page.

— |
handling_20very_20large_20numbers_20without_20using_20scientific_20notation [2018/03/31 13:19] (current) |
||
---|---|---|---|

Line 1: | Line 1: | ||

+ | =====Handling very large numbers without using scientific notation===== | ||

+ | BB4W, like most programming languages, can handle very large numbers - but only in floating-point notation. This is fine for normal usage, but what if you want to investigate the digits of such a number? For instance, you may be looking for patterns in the digits such as a sequence or groupings of similar digits (there are still folk out there looking for patterns in pi, out at the millionth decimal place!).\\ \\ The program below can multiply very large numbers together and show the exact answer with every digit present. I hope no-one is offended by the copyright notice in there. You're free to use the code without obligation, but please acknowledge me if you use it in released work. I've had the experience of having code stolen, slightly altered, and then being claimed as the work of the person doing the alteration. Anyway, here it is:\\ \\ \\ [[/file/view/String%20Multiplication%20_2.bbc/473605646/String%20Multiplication%20_2.bbc|{{String Multiplication _2.bbc}}]][[/file/view/String%20Multiplication%20_2.bbc/473605646/String%20Multiplication%20_2.bbc|String Multiplication _2.bbc]]\\ | ||

+ | |||

+ | * [[/file/detail/String%20Multiplication%20_2.bbc|Details]] | ||

+ | * [[/file/view/String%20Multiplication%20_2.bbc/473605646/String%20Multiplication%20_2.bbc|Download]] | ||

+ | * 2 KB | ||

+ | \\ \\ \\ I hope this is useful to someone out there.\\ \\ //Edit by Richard Russell, December 2013//\\ \\ See also the **MAPM** (My Arbitrary Precision Math) and **HIME** (Huge Integer Math and Encryption) libraries, both of which support calculations using arbitrary precision integer arithmetic:\\ \\ **BB4WMAPMLIB** is [[http://planarsoft.com/server/site?lang=en&openTab=Downloads|here]]\\ **HIMELIB** is [[http://wiggio.com/yui/folder/stream_file.php?doc_key=KUM7BSuqHxjXjSP4UdcwLxtsLDJOKg+yjCssbIVFWms=|here]] |

handling_20very_20large_20numbers_20without_20using_20scientific_20notation.txt ยท Last modified: 2018/03/31 13:19 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International