c0dec0dec0de ,
@c0dec0dec0de@hachyderm.io avatar

@futurebird @phryk reminds me of some Python code that has flummoxed the C++ devs I was working with at the time.
“It doesn’t round consistently! Sometimes it goes up and other times it rounds down [on .5]”
Me: “so, statistical rounding? It does that to prevent systematically biasing your data away from zero. Use this other round function instead of the one built for stats and data.”

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines