HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dimsumbytes

no profile record

comments

dimsumbytes
·4 jaar geleden·discuss
Again, not trying to be that guy, but technically it still breaks:

  a = -0.0
  b = 0.0
dimsumbytes
·4 jaar geleden·discuss
Sorry to be that guy, but this doesn't work in languages that use floats:

  let a = 9007199254740992;
  let b = 1;

  a = a + b
  b = a - b
  a = a - b

  a // 1
  b // 9007199254740991
dimsumbytes
·4 jaar geleden·discuss
It's been 13 years. How long would we wait before we declare it unproductive?