phocks,
@phocks@bne.social avatar

certain decimal numbers like 0.1 cannot be exactly represented in binary and that's why we sometimes get strange answers in JavaScript and other programming languages when we try to do arithmetic with decimals. eg. Why does 0.3 + 0.6 = 0.89999999999999991 🤯https://www.exploringbinary.com/why-0-point-1-does-not-exist-in-floating-point/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • til
  • DreamBathrooms
  • InstantRegret
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • modclub
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • kavyap
  • mdbf
  • thenastyranch
  • JUstTest
  • everett
  • cubers
  • cisconetworking
  • normalnudes
  • Durango
  • anitta
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • megavids
  • Leos
  • lostlight
  • All magazines