Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 1 month ago

Converting Integers to Floats Using Hyperfocus (2022)

blog.m-ou.se

external-link
message-square
0
fedilink
3
external-link

Converting Integers to Floats Using Hyperfocus (2022)

blog.m-ou.se

RSS BotMB to Hacker NewsEnglish · 1 month ago
message-square
0
fedilink
Converting Integers to Floats Using Hyperfocus
blog.m-ou.se
external-link
A few years ago, due to some random chain of events, I ended up implementing a conversion from 128 bit integers to 64 bit floats. This would’ve turned out to be a complete waste of time, except that my final version is faster than the builtin conversion of every compiler I tested. In this blog post, I’ll explain what happened, how floats work, how this conversion works, and how it got a bit out of hand.

Comments

alert-triangle
You must log in or register to comment.

Hacker News

hackernews

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.

  • 362 users / day
  • 1.56K users / week
  • 4.21K users / month
  • 9.58K users / 6 months
  • 2 local subscribers
  • 2.37K subscribers
  • 28.9K Posts
  • 11.5K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org