Stamets@lemmy.world to RPGMemes @ttrpg.network · 11 months agoI'm with themlemmy.worldimagemessage-square60fedilinkarrow-up1442arrow-down18
arrow-up1434arrow-down1imageI'm with themlemmy.worldStamets@lemmy.world to RPGMemes @ttrpg.network · 11 months agomessage-square60fedilink
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.