changeset 116 | 61f7f1f03a8d |
parent 115 | 9e01c6c0c679 |
child 117 | 5701802ff232 |
115:9e01c6c0c679 | 116:61f7f1f03a8d |
---|---|
2253 if (f1 === 0) { // a 0 0 0 |
2253 if (f1 === 0) { // a 0 0 0 |
2254 to.da = 0; |
2254 to.da = 0; |
2255 to.ca = 0; |
2255 to.ca = 0; |
2256 to.ba = 0; |
2256 to.ba = 0; |
2257 to.aa = f0; |
2257 to.aa = f0; |
2258 continue; |
2258 } else if (f2 === 0) { |
2259 } |
|
2260 if (f2 === 0) { |
|
2261 to.da = 0; |
2259 to.da = 0; |
2262 to.ca = 0; |
2260 to.ca = 0; |
2263 if (f1 === f0) { // a a 0 0 |
2261 if (f1 === f0) { // a a 0 0 |
2264 updated = true; |
2262 updated = true; |
2265 to.ba = 0; |
2263 to.ba = 0; |
2266 to.aa = f0 + 1; |
2264 to.aa = f0 + 1; |
2267 } else { // a b 0 0 |
2265 } else { // a b 0 0 |
2268 to.ba = f1; |
2266 to.ba = f1; |
2269 to.aa = f0; |
2267 to.aa = f0; |
2270 } |
2268 } |
2271 continue; |
2269 } else if (f1 === f0) { |
2272 } |
|
2273 if (f1 === f0) { |
|
2274 to.da = 0; |
2270 to.da = 0; |
2275 to.aa = f0 + 1; |
2271 to.aa = f0 + 1; |
2276 if (f3 === f2) { // a a b b |
2272 if (f3 === f2) { // a a b b |
2277 updated = true; |
2273 updated = true; |
2278 to.ca = 0; |
2274 to.ca = 0; |
2351 if (f1 === 0) { // a 0 0 0 |
2347 if (f1 === 0) { // a 0 0 0 |
2352 to.db = 0; |
2348 to.db = 0; |
2353 to.cb = 0; |
2349 to.cb = 0; |
2354 to.bb = 0; |
2350 to.bb = 0; |
2355 to.ab = f0; |
2351 to.ab = f0; |
2356 continue; |
2352 } else if (f2 === 0) { |
2357 } |
|
2358 if (f2 === 0) { |
|
2359 to.db = 0; |
2353 to.db = 0; |
2360 to.cb = 0; |
2354 to.cb = 0; |
2361 if (f1 === f0) { // a a 0 0 |
2355 if (f1 === f0) { // a a 0 0 |
2362 updated = true; |
2356 updated = true; |
2363 to.bb = 0; |
2357 to.bb = 0; |
2364 to.ab = f0 + 1; |
2358 to.ab = f0 + 1; |
2365 } else { // a b 0 0 |
2359 } else { // a b 0 0 |
2366 to.bb = f1; |
2360 to.bb = f1; |
2367 to.ab = f0; |
2361 to.ab = f0; |
2368 } |
2362 } |
2369 continue; |
2363 } else if (f1 === f0) { |
2370 } |
|
2371 if (f1 === f0) { |
|
2372 to.db = 0; |
2364 to.db = 0; |
2373 to.ab = f0 + 1; |
2365 to.ab = f0 + 1; |
2374 if (f3 === f2) { // a a b b |
2366 if (f3 === f2) { // a a b b |
2375 updated = true; |
2367 updated = true; |
2376 to.cb = 0; |
2368 to.cb = 0; |
2449 if (f1 === 0) { // a 0 0 0 |
2441 if (f1 === 0) { // a 0 0 0 |
2450 to.dc = 0; |
2442 to.dc = 0; |
2451 to.cc = 0; |
2443 to.cc = 0; |
2452 to.bc = 0; |
2444 to.bc = 0; |
2453 to.ac = f0; |
2445 to.ac = f0; |
2454 continue; |
2446 } else if (f2 === 0) { |
2455 } |
|
2456 if (f2 === 0) { |
|
2457 to.dc = 0; |
2447 to.dc = 0; |
2458 to.cc = 0; |
2448 to.cc = 0; |
2459 if (f1 === f0) { // a a 0 0 |
2449 if (f1 === f0) { // a a 0 0 |
2460 updated = true; |
2450 updated = true; |
2461 to.bc = 0; |
2451 to.bc = 0; |
2462 to.ac = f0 + 1; |
2452 to.ac = f0 + 1; |
2463 } else { // a b 0 0 |
2453 } else { // a b 0 0 |
2464 to.bc = f1; |
2454 to.bc = f1; |
2465 to.ac = f0; |
2455 to.ac = f0; |
2466 } |
2456 } |
2467 continue; |
2457 } else if (f1 === f0) { |
2468 } |
|
2469 if (f1 === f0) { |
|
2470 to.dc = 0; |
2458 to.dc = 0; |
2471 to.ac = f0 + 1; |
2459 to.ac = f0 + 1; |
2472 if (f3 === f2) { // a a b b |
2460 if (f3 === f2) { // a a b b |
2473 updated = true; |
2461 updated = true; |
2474 to.cc = 0; |
2462 to.cc = 0; |
2547 if (f1 === 0) { // a 0 0 0 |
2535 if (f1 === 0) { // a 0 0 0 |
2548 to.dd = 0; |
2536 to.dd = 0; |
2549 to.cd = 0; |
2537 to.cd = 0; |
2550 to.bd = 0; |
2538 to.bd = 0; |
2551 to.ad = f0; |
2539 to.ad = f0; |
2552 continue; |
2540 } else if (f2 === 0) { |
2553 } |
|
2554 if (f2 === 0) { |
|
2555 to.dd = 0; |
2541 to.dd = 0; |
2556 to.cd = 0; |
2542 to.cd = 0; |
2557 if (f1 === f0) { // a a 0 0 |
2543 if (f1 === f0) { // a a 0 0 |
2558 updated = true; |
2544 updated = true; |
2559 to.bd = 0; |
2545 to.bd = 0; |
2560 to.ad = f0 + 1; |
2546 to.ad = f0 + 1; |
2561 } else { // a b 0 0 |
2547 } else { // a b 0 0 |
2562 to.bd = f1; |
2548 to.bd = f1; |
2563 to.ad = f0; |
2549 to.ad = f0; |
2564 } |
2550 } |
2565 continue; |
2551 } else if (f1 === f0) { |
2566 } |
|
2567 if (f1 === f0) { |
|
2568 to.dd = 0; |
2552 to.dd = 0; |
2569 to.ad = f0 + 1; |
2553 to.ad = f0 + 1; |
2570 if (f3 === f2) { // a a b b |
2554 if (f3 === f2) { // a a b b |
2571 updated = true; |
2555 updated = true; |
2572 to.cd = 0; |
2556 to.cd = 0; |