Toot

Written by Romain Guy on 2024-11-11 at 22:24

@pikzen It's not just 32 - clz. We want values with 17 to 19 leading zeroes to return 15, and values with 14 to 16 leading zeroes to return 18. There might be a clever way to do this without a switch, but might as well use a lookup table at that point.

=> More informations about this toot | View the thread | More toots from romainguy@androiddev.social

Mentions

=> View pikzen@androiddev.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113466663891095609
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
223.225883 milliseconds
Gemini-to-HTML Time
0.460844 milliseconds

This content has been proxied by September (3851b).