simon-git: spigot (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Dec 23 23:40:10 GMT 2014


TL;DR:
  9ae835f Switch to using Machin's formula for pi.

Repository:     git://git.tartarus.org/simon/spigot.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=spigot.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2014-12-23 23:40:09

commit 9ae835f430dc247e01c63ccc2e61e4232c630c0c
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=9ae835f430dc247e01c63ccc2e61e4232c630c0c;hp=bc169f56247653a3d122c8629a863c54bf6e6ff5
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Dec 23 23:09:59 2014 +0000

    Switch to using Machin's formula for pi.
    
    It's much faster, and even more so if we do the scaling and
    combination of the two atan terms in one go using a custom Gosper
    matrix.

 TODO.txt   |   25 ------------------
 consts.cpp |   82 +++++++++++++++++++++---------------------------------------
 funcs.h    |    3 +++
 gosper.cpp |   13 ++++++++++
 manual.but |    6 +++++
 5 files changed, 50 insertions(+), 79 deletions(-)



More information about the tartarus-commits mailing list