6 ms·
Unless when they happen to be equal. Then it never halts.
by leni536 7y ago
Unless when they happen to be equal. Then it never halts.
- Skeime 7y agoActually, computing the minimum should work: If they are equal you can still lazily produce the digits of the decimal expansion. What you can’t do in this case is to tell whether this minimum is equal to the first or the second number.