simon-git: spigot (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Apr 29 18:33:05 BST 2015
TL;DR:
c9d292e Add -R, to print out a number as a rational.
5d3f54e New TODO: tentative output in continued fraction modes.
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: 2015-04-29 18:33:05
commit c9d292e0865196267b808659d07fb427e7719f93
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=c9d292e0865196267b808659d07fb427e7719f93;hp=cc5aa2c86b98121d2b6f89469ceca2fdd83cbd63
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Apr 29 18:25:17 2015 +0100
Add -R, to print out a number as a rational.
I had a desire for this recently, after I found spigot to be the most
convenient tool to hand for calculating with actual rationals, except
that the only way to get rational output was by using -C and only
looking at the last line. -R is equivalent but doesn't bother with the
previous lines. (Also it writes integers without the trailing "/1".)
main.cpp | 40 +++++++++++++++++++++++++++++++++++++++-
manpage.but | 9 +++++++++
manual.but | 5 +++++
test.sh | 10 ++++++++++
4 files changed, 63 insertions(+), 1 deletion(-)
commit 5d3f54ed962705855ee78b2c5ee763eabc19e1d5
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=5d3f54ed962705855ee78b2c5ee763eabc19e1d5;hp=c9d292e0865196267b808659d07fb427e7719f93
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Apr 29 18:30:47 2015 +0100
New TODO: tentative output in continued fraction modes.
TODO.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
More information about the tartarus-commits
mailing list