▲ 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
[–] Treczoks@lemmy.world -2 points 10 months ago (1 child) I fail to see a difference there That I noticed some posts ago. The issue has not changed since then. permalink fedilink source parent hideshow 2 child comments replies: [–] Womble@piefed.world 3 points 10 months ago (1 child) And so instead of explain why and clarify any misunderstanding you chose to snarkily insult my intelligence, very mature. permalink fedilink source parent hideshow 2 child comments replies: [–] Treczoks@lemmy.world -4 points 10 months ago (1 child) I did clarify my reasons. That you obviously didn't read. permalink fedilink source parent hideshow 2 child comments replies: [–] Womble@piefed.world 0 points 10 months ago No you spouted some stuff about "trust me I've seen it" (almost certainly relating to using single floats) then an irrelevant tangent about how ten doesnt divde cleanly into three and how thats a problem for floats, when you have exactly the same problem with fixed point/integer division. Do you have an actual example of where double precission floats would cause an issue? Preferably an example that could be run to demonstrate it. permalink fedilink source parent
[–] Womble@piefed.world 3 points 10 months ago (1 child) And so instead of explain why and clarify any misunderstanding you chose to snarkily insult my intelligence, very mature. permalink fedilink source parent hideshow 2 child comments replies: [–] Treczoks@lemmy.world -4 points 10 months ago (1 child) I did clarify my reasons. That you obviously didn't read. permalink fedilink source parent hideshow 2 child comments replies: [–] Womble@piefed.world 0 points 10 months ago No you spouted some stuff about "trust me I've seen it" (almost certainly relating to using single floats) then an irrelevant tangent about how ten doesnt divde cleanly into three and how thats a problem for floats, when you have exactly the same problem with fixed point/integer division. Do you have an actual example of where double precission floats would cause an issue? Preferably an example that could be run to demonstrate it. permalink fedilink source parent
[–] Treczoks@lemmy.world -4 points 10 months ago (1 child) I did clarify my reasons. That you obviously didn't read. permalink fedilink source parent hideshow 2 child comments replies: [–] Womble@piefed.world 0 points 10 months ago No you spouted some stuff about "trust me I've seen it" (almost certainly relating to using single floats) then an irrelevant tangent about how ten doesnt divde cleanly into three and how thats a problem for floats, when you have exactly the same problem with fixed point/integer division. Do you have an actual example of where double precission floats would cause an issue? Preferably an example that could be run to demonstrate it. permalink fedilink source parent
[–] Womble@piefed.world 0 points 10 months ago No you spouted some stuff about "trust me I've seen it" (almost certainly relating to using single floats) then an irrelevant tangent about how ten doesnt divde cleanly into three and how thats a problem for floats, when you have exactly the same problem with fixed point/integer division. Do you have an actual example of where double precission floats would cause an issue? Preferably an example that could be run to demonstrate it. permalink fedilink source parent