Stamets@lemmy.world to RPGMemes @ttrpg.network · 11 months agoI'm with themlemmy.worldimagemessage-square61fedilinkarrow-up1451arrow-down19
arrow-up1442arrow-down1imageI'm with themlemmy.worldStamets@lemmy.world to RPGMemes @ttrpg.network · 11 months agomessage-square61fedilink
minus-squareSpaceNoodle@lemmy.worldlinkfedilinkarrow-up2·edit-211 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.
It would be ceiling(D12/3)
(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.