Pythagorean triples: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
SqrtNegInf (talk | contribs) m (→Parent/child: Fix link: Perl 6 --> Raku) |
||
Line 2,504: | Line 2,504: | ||
[[Pythagorean triples/Java/Brute force primitives]] |
[[Pythagorean triples/Java/Brute force primitives]] |
||
===Parent/child=== |
===Parent/child=== |
||
{{trans| |
{{trans|Raku}} (with limited modification for saving a few BigInteger operations) |
||
{{works with|Java|1.5+}} |
{{works with|Java|1.5+}} |
||
This can also go "forever" theoretically. Letting it go to another order of magnitude overflowed the stack on the computer this was tested on. This version also does not show the triples as it goes, it only counts them. |
This can also go "forever" theoretically. Letting it go to another order of magnitude overflowed the stack on the computer this was tested on. This version also does not show the triples as it goes, it only counts them. |