www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - I've used Dlang to do an experiment using a billion digits of Pi.

reply Murilo <murilomiranda92 hotmail.com> writes:
This software, written in Dlang, analyzes the digits of pi in 
order to find images and words in them.

It is just a funny experiment, it read a file with 1 billion 
digits of pi and then it used an algorithm to turn the digits 
into images, later another algorithm was used to turn the digits 
into letters. The images unfortunately were all random, none of 
them formed a pattern, they were all similar to the image you can 
find in the "all results.zip" file.

The letters were counted to see how often each appeared, also the 
letters were examined to find words in them, each word was 
counted to see how often it appeared too. Some letters barely 
appeared, some words also appeared rarely, whereas others 
appeared all the time.

Here is the Github to it: https://github.com/MuriloMir/Pi-analyzer

Here is the article I've written on my blog to explain it in 
details:
https://computingthesciences.blogspot.com/2024/10/analyzing-1-billion-digits-of-pi.html
Oct 10
parent Salih Dincer <salihdb hotmail.com> writes:
On Thursday, 10 October 2024 at 22:39:13 UTC, Murilo wrote:
 Here is the Github to it: 
 https://github.com/MuriloMir/Pi-analyzer

 Here is the article I've written on my blog to explain it in 
 details:
 https://computingthesciences.blogspot.com/2024/10/analyzing-1-billion-digits-of-pi.html
This is a great and successful project, congratulations. Maybe you would like to expand the article section. Please also use the following: https://translated.turbopages.org/proxy_u/tr-en.tr.9b30f7f9-67085f4d-c203e420-74722d776562/https/barisozcan.com/3-1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679/ SDB 79
Oct 10