• SCB@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    9
    ·
    1 year ago

    Because calculations happen in the form the calculation is written. The math is done in whatever base the algorithm is told to process in.

    • SkyeStarfall@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Okay, walk me through how you think the code an algorithm is written in gets processed by the computer step by step, please. How do you think a computer operates and is programmed?

      Let’s say you have code to tell the computer to calculate 3 + 5, in, say, C, because that’s close to assembly. What happens on the technical level?

      • SCB@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        3
        ·
        1 year ago

        In sorry but you seem to be mistaking the fundamental distinction between what we are talking about.

        • SkyeStarfall@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Then explain to me the fundamentals you are referring to.

          Because if you are wondering about how a computer processes information, I can tell you. I can then back it up with sources, and how code gets decoded into assembly, and how assembly is interpreted (spoiler alert, it’s binary, as it’s a direct representation of the digital circuits on the hardware level, which operate based on binary states, on and off). You just have to ask.