all 5 comments

sorted by: hot top controversial new old
[–] 15 points 3 days ago

This abuses errors in the fixed-point math, to have the first "error" line up exactly where we want, on that final leap second.A round-down multiplier is used, with a pre-increment, as that is the type of adjustment that yields an eventual long-minute and long-hour.

i love it

  • source
  • [–] 8 points 3 days ago (1 child)

    If everyone coded like this, we wouldn't have so many data centres spewing soot into the sky.

  • source
  • hideshow 1 child comment
  • [–] 12 points 3 days ago

    I would say that 90% of devels would look at this and have no clue what is going on or why.
    This is something to be done in the compiler, but not in the code unless there's some actual slow down in the code that is visible via benchmarking.

  • source
  • parent
  • [–] 1 point 3 days ago (1 child)

    This is utterly incomprehensible tbh, but I guess I'll believe it

  • source
  • hideshow 1 child comment