Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Determining if a rational number terminates

by tobyink (Abbot)
on Nov 30, 2012 at 10:07 UTC ( #1006447=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use bigrat;print((shift()*10**1000/shift)=~"/"?N:Y,$/)
    
  2. or download this
    use bigrat;print[Y,N]->[(shift()*10**1000/shift)=~"/"],$/
    
  3. or download this
    use bigrat;$_=shift()*10**1000/shift;print[Y,N]->[m"/"],$/
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006447]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2015-04-28 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (516 votes), past polls