Is this blatant cheating? Perhaps :)use bigrat;print((shift()*10**1000/shift())=~?/??'N':'Y')
In reply to Re: Determining if a rational number terminates
by ColonelPanic
in thread Determining if a rational number terminates
by blackle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |