Paulo's Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · 25 days ago

A leap year check in three instructions

hueffner.de

external-link
message-square
1
link
fedilink
5
external-link

A leap year check in three instructions

hueffner.de

RSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · 25 days ago
message-square
1
link
fedilink
How to test for leap years (until year 102499) in the proleptic Gregorian calendar with just three 32-bit instructions, with detailed explanation of the bit-level tricks.

Comments

alert-triangle
You must log in or register to comment.
  • Lucien [he/him]@mander.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    25 days ago

    This was beautiful

Hacker News@lemmy.bestiver.se

hackernews@lemmy.bestiver.se

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 318 users / day
  • 1.18K users / week
  • 3.14K users / month
  • 7.18K users / 6 months
  • 1 local subscriber
  • 1.64K subscribers
  • 10.5K Posts
  • 4.56K Comments
  • Modlog
  • mods:
  • patrick@lemmy.bestiver.se
  • RSS Bot@lemmy.bestiver.se
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org