• calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      13 hours ago

      Yes. Have a structure with 2 BigInts. Treat one as the numerator. The other as denominators.

      It might not be efficient or fast. But it is possible.

        • calcopiritus@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          39 minutes ago

          Yes that is correct. A BigInt represents the entire integer set.

          Rational numbers are defined by just 2 integers. Therefore, 2 BigInts represent the entire rational set.

      • marcos@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        55 minutes ago

        So, you have a notation that can represent the entire rational set?

        What exactly is being mimicked?

        • WhiskyTangoFoxtrot@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          18 minutes ago

          So, you have a notation that can represent the entire rational set?

          No. That’s not what the meme is about, and that’s not what we’re arguing about.

          What exactly is being mimicked?

          Fractions.