Pythagorean triples: Difference between revisions

Content added Content deleted
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
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|Perl 6}} (with limited modification for saving a few BigInteger operations)
{{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.