flat assembler
Message board for the users of flat assembler.
flat assembler
> Heap > Message embedded in the digits of pi 
Author 

care to explain, sorry for my dumb processor


12 Jan 2017, 09:54 

If you have some spare time get pi accurate to about 300000 base36 digits using the standard digit definitions 09,AZ so Z is the MSD.
This message starts at the 186842nd, 186963rd and 234322nd digits. Digits are numbered from after the integer 3 i.e. the fractional digits. The first 20 base36 fractional digits of pi are: Code: 53I5AB8P5FSA5JHK72I8 What is the message? I hope I got it right this time! @sleepsleep I was playing around with some algorithms to generate pi using memory buffers in flat real mode. I was hoping to generate millions of digits using large amounts of memory but my algorithms are still a bit slow. So I started generating pi in different bases instead... _________________ FAMOS  the first memory operating system 

12 Jan 2017, 19:57 

i don't know much about pi,
not sure how people came up with those infinite decimal of pi, 

12 Jan 2017, 21:10 

Yes there are lots of clever algorithms to calculate pi. Some implementations are very small too  less than 100 bytes of code. Memory is used as virtual arbitrarywidth registers, and integer arithmetic is used by multiplying by suitably large constants. So if you have say 3GB of memory available, and you need 3 "registers" for holding intermediate results etc you can do 1GB = 8Gbit arithmetic, calculating pi accurate to about 8 billion bits. In decimal, thats equivalent to about 2.4 billion digits.
_________________ FAMOS  the first memory operating system 

12 Jan 2017, 23:30 

Have you tried PInumeric system, when pi is the basis?


15 Feb 2017, 08:48 

What about base 16 aka Hex?
https://en.wikipedia.org/wiki/Bailey%E2%80%93Borwein%E2%80%93Plouffe_formula With that algorithm you could generate any digit of pie in any position. Quote: The formula can directly calculate the value of any given digit of π without calculating the preceding digits 

15 Feb 2017, 13:36 

idle wrote: Have you tried PInumeric system, when pi is the basis? _________________ FAMOS  the first memory operating system 

15 Feb 2017, 22:41 

The BBP algorithm allows for the full use of the memory  no long integers. Just the conversion to another base is needed. It's also possible to convert in batches (for example, cache size).
https://board.flatassembler.net/topic.php?t=7816 

16 Feb 2017, 05:42 

< Last Thread  Next Thread > 
Forum Rules:

Copyright © 19992018, Tomasz Grysztar.
Powered by rwasa.