simon-git: spigot (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed Feb 8 22:48:58 GMT 2017


TL;DR:
  49fb26f Fix some benign compiler warnings.
  511ca30 Rework the hyperbolic functions using combining helpers.

Repository:     https://git.tartarus.org/simon/spigot.git
On the web:     https://git.tartarus.org/?p=simon/spigot.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-02-08 22:48:58

commit 49fb26f33d1dede6e78142cc73b3fa3a73153890
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=49fb26f33d1dede6e78142cc73b3fa3a73153890;hp=dad1bbc6f8fbb588a7a880096d6d3610a29c064f
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Feb 7 21:08:22 2017 +0000

    Fix some benign compiler warnings.
    
    A few initialisations in the opposite order from the class members,
    and a couple of completely unused member variables.

 arithmetic.cpp | 2 +-
 gamma.cpp      | 1 -
 holefiller.h   | 2 +-
 spigot.cpp     | 1 -
 spigot.h       | 1 -
 5 files changed, 2 insertions(+), 5 deletions(-)

commit 511ca30e9f086961ee7b86e5a211c6123afb21da
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=511ca30e9f086961ee7b86e5a211c6123afb21da;hp=49fb26f33d1dede6e78142cc73b3fa3a73153890
Author: Simon Tatham <anakin at pobox.com>
Date:   Wed Feb 8 22:42:37 2017 +0000

    Rework the hyperbolic functions using combining helpers.
    
    I've only just noticed that atanh and tanh don't really need to
    evaluate their input spigot twice, because instead they can apply a
    Mobius function to it (or to exp of it) in one go. And then I realised
    that sinh and cosh could benefit from a similar optimisation if only I
    had the full spigot_quadratic_ratfn that I didn't bother implementing
    in commit 89a887382 - so now I have done, and the rational special
    case is actually a lot less hairy than my previous comment apparently
    believed it would be :-)

 arithmetic.cpp | 49 +++++++++++++------------------------------------
 exp.cpp        | 34 +++++++++++++++++++++-------------
 funcs.h        |  3 +++
 3 files changed, 37 insertions(+), 49 deletions(-)



More information about the tartarus-commits mailing list