1
0
镜像自地址 https://github.com/coolaj86/fizzbuzz.git 已同步 2024-11-16 17:29:04 +00:00

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

这个提交包含在:
AJ ONeal 2010-10-21 01:00:22 -06:00
父节点 57a8b8d5bd
当前提交 6a5f859101

查看文件

@ -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?) // 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 repeat = true, // if the base condition has yet to be met
count = 0, // safeguard in case the base-case logic is incorrect count = 0, // safeguard in case the base-case logic is incorrect
max_count = 10000000000000000; max_count = 15000;
while (true === repeat && count < max_count) { while (true === repeat && count < max_count) {
variance = 0; variance = 0;