• SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      11 months ago

      (D12 mod 4) + 1 uses two simple operations and uses whole numbers.

      ⌈D12 ÷ 3⌉ uses two more complex operations and relies on rationals, or worse, decimal approximations.