▲ 100 ▼ Big Decimals: Stop Using Floats or Cents for Money (medium.com) submitted 10 months ago by Trev13@programming.dev to c/programming@programming.dev 54 comments fedilink hide all child comments
[–] ZILtoid1991@lemmy.world 5 points 10 months ago (1 child) The physics starts to glitch out, or at least used to, until it got upgraded to doubles. I also use doubles for my game engine, as well as (optionally) limiting pixel-precise things within int.max and int.min. permalink fedilink source parent hideshow 2 child comments replies: [–] LowtierComputer@lemmy.world 2 points 10 months ago (1 child) Does the world repeat after a set point? permalink fedilink source parent hideshow 2 child comments replies: [–] ZILtoid1991@lemmy.world 3 points 10 months ago Technically yes, and with tile layers, you can even set them repeating on a shorter area. permalink fedilink source parent
[–] LowtierComputer@lemmy.world 2 points 10 months ago (1 child) Does the world repeat after a set point? permalink fedilink source parent hideshow 2 child comments replies: [–] ZILtoid1991@lemmy.world 3 points 10 months ago Technically yes, and with tile layers, you can even set them repeating on a shorter area. permalink fedilink source parent
[–] ZILtoid1991@lemmy.world 3 points 10 months ago Technically yes, and with tile layers, you can even set them repeating on a shorter area. permalink fedilink source parent