1
0
espelhamento de https://github.com/coolaj86/fizzbuzz.git sincronizado 2024-11-16 17:29:04 +00:00

adjusted safety base-case loop size down to a reasonable limit

Esse commit está contido em:
AJ ONeal 2010-10-21 01:00:22 -06:00
commit 6a5f859101

Ver arquivo

@ -85,7 +85,7 @@ var HotPlate = {};
// 0.000000000000001 is the lowest you can go. If you try zero it will run forever (IEEE floating-point errors?)
repeat = true, // if the base condition has yet to be met
count = 0, // safeguard in case the base-case logic is incorrect
max_count = 10000000000000000;
max_count = 15000;
while (true === repeat && count < max_count) {
variance = 0;