Search:

Type: Posts; User: oogabooga

Search: Search took 0.23 seconds.

  1. Replies
    16
    Views
    20,609

    My impl is just a few lines. I haven't tested it...

    My impl is just a few lines. I haven't tested it extensively, though.
    EDIT:
    Also, it doesn't need the gcd. It seems to be related to continued fractions, but is not really the same thing. I think...
  2. Replies
    16
    Views
    20,609

    I ended up reading the wikipedia link you gave,...

    I ended up reading the wikipedia link you gave, but not until after I posted. I realized that it was the same idea!
  3. Replies
    16
    Views
    20,609

    That technique still needs to be applied in a...

    That technique still needs to be applied in a case like 2/15:
    0.1333333333333333333
    So you could consider the first 0 in .1520000000 as being the repeating part.

    You may end up needing some big...
  4. Replies
    16
    Views
    20,609

    An irrational ("not a ratio") number is one that...

    An irrational ("not a ratio") number is one that cannot be written as a fraction, so there are no irrational fractions.
    To figure out an algorithm, figure out how you would do it yourself.
Results 1 to 4 of 4