- May
- 13,143
- 180
This is correct.
If I multiply both numbers by 10, their GCD should be multiplied by 10. But this is not correct.
And this puts TCC in an uninterruptible, 100% CPU usage state.
Code:
v:\> echo %@eval[gcd(2546068882500000000 99999900000000000)]
357142500000000
If I multiply both numbers by 10, their GCD should be multiplied by 10. But this is not correct.
Code:
v:\> echo %@eval[gcd(25460688825000000000 999999000000000000)]
3584
And this puts TCC in an uninterruptible, 100% CPU usage state.
Code:
v:\> echo %@eval[lcm(25460688825000000000 999999000000000000)]