simon-git: spigot (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Dec 24 23:21:34 GMT 2014
TL;DR:
d7d4579 Tidy up failed-test reports.
698e8a3 Implement the Lambert W function.
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-24 23:21:34
commit d7d45792cbb7d830c92ecffc8dd8209257ce4156
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=d7d45792cbb7d830c92ecffc8dd8209257ce4156;hp=b329a334dd489cbeb2f0287cd7b950963ba2da93
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Dec 24 23:09:33 2014 +0000
Tidy up failed-test reports.
There was a pointless blank line in the middle; exit statuses look
silly in quotes; and really there's no reason not to put the status
and output on the same line.
test.sh | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
commit 698e8a372663118dc6ff1777ba5282ffd49114d1
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=698e8a372663118dc6ff1777ba5282ffd49114d1;hp=d7d45792cbb7d830c92ecffc8dd8209257ce4156
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Dec 24 23:13:32 2014 +0000
Implement the Lambert W function.
Both branches, of course. W(x) is valid for x >= -1/e and is always at
least -1, and Wn(x) is valid for -1/e <= x < 0 and is always at most -1.
This is a function I've occasionally run into in the past, and since
it fits naturally into today's new MonotoneInverter framework, this
seems like a good moment to add it to the spigot collection.
Makefile.am | 6 +-
expr.cpp | 8 +++
funcs.h | 4 ++
lambertw.cpp | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
python/setup.py | 1 +
test.sh | 7 +++
6 files changed, 200 insertions(+), 3 deletions(-)
More information about the tartarus-commits
mailing list