GithubHelp home page GithubHelp logo

picf's Introduction

PiCF Quick Guide-

PiCF is a program for computing continued fractions of any number between 1 and 10 very quickly. It can be used for breaking world records, partial verification, and much more.

*******************
System Requirements
*******************
At least 32MB of RAM to do anything worthwhile;
At least 32MB of hard drive space to store small continued fractions;
Note-you will need more in order to store larger continued fractions.

***************
Getting Started
***************

To start using PiCF, simply extract the contents of the zip into another folder anywhere on your system except for inside C:\Windows\. Then run PiCF.exe.

**************
Example of Use
**************
Here's how to make a simple continued fraction using PiCF. 
In this tutorial, we will create a slightly less than 1000-term long continued fraction of pi.
First, go into the settings menu and change these settings:
Filename should be smallpi.txt
Power should be 1000
Precision should be 4000
Increments to display should be 100
Read Blocks should be 100

Then, go back to the main menu and press 3 to get into the compute menu. After that, press "y" to start the computation. The total time should be less than 1 second to compute. Afterwards, press "n" on the verification prompt and press enter to exit. Open up output.txt in a file viewer, and the result should look something like this:
3
7
15
1
292
...
Congratulations, you've made your first continued fraction.

If you need more help, you can get it from the "help" menu.

****
TODO
****

Needed:
Output in Ascii, not Unicode
Add 32-bit support

Useful:
Add switch to generate FromContinuedFraction at end
Minimize memory use: Although it may not be as bad as Mathematica, it still gobbles up memory like Cookie Monster.
Add GUI: Because some people are scared of command lines.
Fix decimal point problem-e^pi is interesting too!

Maybe later:
Multi-core utilization
Recode in C++ - GMP isn't as fast as it should be!
Switch from lists to arrays - I have no idea why this isn't in.

picf's People

Contributors

nbickford avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.