simon-git: spigot (master): spigot.git
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Thu Dec 15 19:40:01 GMT 2016
TL;DR:
5770068 Improve my Pythagorean triple generator.
Repository: https://git.tartarus.org/simon/spigot.git
On the web: https://git.tartarus.org/?p=simon/spigot.git
Branch updated: master
Committer: spigot.git
Date: 2016-12-15 19:40:01
commit 5770068505321e3df70c30dc8f5a9ae462306863
web diff https://git.tartarus.org/?p=simon/spigot.git;a=commitdiff;h=5770068505321e3df70c30dc8f5a9ae462306863;hp=ef6af660bd2486feb56dafd287b29ab6c888a7c5
Author: Simon Tatham <anakin at pobox.com>
Date: Thu Dec 15 19:39:05 2016 +0000
Improve my Pythagorean triple generator.
I was wondering how it seemed to be missing some tuples, and now I've
figured it out: there are actually _two_ numbers we should be looking
at rational approximations to, not just one. So now we generate both,
and interleave their outputs.
python/pythangle.py | 98 ++++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 90 insertions(+), 8 deletions(-)
More information about the tartarus-commits
mailing list