mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Programming

Reply
 
Thread Tools
Old 2021-04-05, 12:41   #1
sinandredemptio
 
Apr 2021

3 Posts
Post Fast continued fraction cruncher

Zuuv is a program that can compute the regular continued fraction of a number from it's floating-point representation (a file containing hex or dec digits). It features log-linear runtime, disk-based computations (for large computations), fault tolerance, and basic multi-threading.

Zuuv can easily be used to break world records for terms of continued fractions of constants like Pi, Euler-Mascheroni etc. even on regular PCs with enough dedication. For example, Zuuv took four hours on my poor Intel i5 9th gen laptop to churn out 2.4 billion terms of Euler-mascheroni constant's continued fraction (the world record is just ~4.8 billion)

I just released the first alpha version of Zuuv yesterday, so feedback would be much appreciated. Here's the GitHub :)

Last fiddled with by Batalov on 2021-04-05 at 17:57 Reason: (added link from below)
sinandredemptio is offline   Reply With Quote
Old 2021-04-05, 15:04   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

11,719 Posts
Default

Quote:
Originally Posted by sinandredemptio View Post
Zuuv is a program that can compute the regular continued fraction of a number from it's floating-point representation (a file containing hex or dec digits). It features log-linear runtime, disk-based computations (for large computations), fault tolerance, and basic multi-threading.

Zuuv can easily be used to break world records for terms of continued fractions of constants like Pi, Euler-Mascheroni etc. even on regular PCs with enough dedication. For example, Zuuv took four hours on my poor Intel i5 9th gen laptop to churn out 2.4 billion terms of Euler-mascheroni constant's continued fraction (the world record is just ~4.8 billion)

I just released the first alpha version of Zuuv yesterday, so feedback would be much appreciated.
Released it how and where?

Hard to give feedback without access to it.
xilman is offline   Reply With Quote
Old 2021-04-05, 15:14   #3
sinandredemptio
 
Apr 2021

3 Posts
Default

Quote:
Originally Posted by xilman View Post
Released it how and where?

Hard to give feedback without access to it.
Well, this is embarrassing. Here's the GitHub :)
sinandredemptio is offline   Reply With Quote
Old 2021-09-15, 18:36   #4
sinandredemptio
 
Apr 2021

310 Posts
Default New program to crunch continued fraction expansion of constants

Zuuv is an open-source program that can compute the regular continued fraction of a number from it's floating-point representation (a file containing hex or dec digits). Just like y-cruncher, it's features include:
  • Ability to crunch billions of terms in reasonable time
  • Advanced algorithms for log-linear runtime
  • Ability to utilize hard-disk to perform extremely large calculations
  • Ability to automatically save and resume partial computations
  • Multi-threading
Zuuv has been utilized to break world records for computation of regular continued fraction terms of important mathematical constants such as Pi, Euler-Mascheroni etc, all done on a regular PC (i5 9300H, 8GB RAM).


Link to repository: https://github.com/sinandredemption/zuuv
Link to Windows builds (for modern processors): https://github.com/sinandredemption/.../builds/modern


Please free to ask questions and put out suggestions or constructive criticism. Or contact me personally if you are interested in running a sizeable computation.




Disclaimer: The author of this post is also the author of Zuuv, and Zuuv is not affiliated in any way with y-cruncher or A. Yee himself.


PS I am posting this because I thought more of you should know about Zuuv. In case this qualifies as spam, please inform me and I will delete this post.

MODERATOR NOTE: This post started another thread. It was on the same topic as this thread. I merged that thread into this one.

Starting new threads on the same topic as threads you previously started ("multiposting"), is considered bad behavior on this Forum. It recently got another user banned.

Last fiddled with by Dr Sardonicus on 2021-09-16 at 00:36
sinandredemptio is offline   Reply With Quote
Old 2021-09-16, 14:15   #5
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

11,719 Posts
Default

Quote:
Originally Posted by sinandredemptio View Post
Zuuv is an open-source program that can compute the regular continued fraction of a number from it's floating-point representation (a file containing hex or dec digits). Just like y-cruncher, it's features include:
  • Ability to crunch billions of terms in reasonable time
  • Advanced algorithms for log-linear runtime
  • Ability to utilize hard-disk to perform extremely large calculations
  • Ability to automatically save and resume partial computations
  • Multi-threading
Zuuv has been utilized to break world records for computation of regular continued fraction terms of important mathematical constants such as Pi, Euler-Mascheroni etc, all done on a regular PC (i5 9300H, 8GB RAM).


Link to repository: https://github.com/sinandredemption/zuuv
Link to Windows builds (for modern processors): https://github.com/sinandredemption/.../builds/modern


Please free to ask questions and put out suggestions or constructive criticism. Or contact me personally if you are interested in running a sizeable computation.




Disclaimer: The author of this post is also the author of Zuuv, and Zuuv is not affiliated in any way with y-cruncher or A. Yee himself.


PS I am posting this because I thought more of you should know about Zuuv. In case this qualifies as spam, please inform me and I will delete this post.

MODERATOR NOTE: This post started another thread. It was on the same topic as this thread. I merged that thread into this one.

Starting new threads on the same topic as threads you previously started ("multiposting"), is considered bad behavior on this Forum. It recently got another user banned.
it is a real shame that Liunux is no longer supported.

What is broken with respect to Linux? Do the Windoze builds work under WINE?
xilman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continued product Carmichael numbers devarajkandadai Number Theory Discussion Group 2 2019-09-24 03:14
Do normal adults give themselves an allowance? (...to fast or not to fast - there is no question!) jasong jasong 35 2016-12-11 00:57
why continued fractions gives one factor for N=(4m+3)(4n+3) wsc811 Miscellaneous Math 6 2013-11-29 21:43
Continued Fraction Algorithm Raman Math 7 2009-02-27 18:01
Continued Fraction of Primes Cyclamen Persicum Miscellaneous Math 9 2003-04-13 14:56

All times are UTC. The time now is 18:39.


Mon Mar 20 18:39:13 UTC 2023 up 214 days, 16:07, 0 users, load averages: 2.03, 2.09, 1.83

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โА โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โІ โŠ‚ โŠ„ โŠŠ โЇ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”