Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
duplexsystem ( duplexsystem@lemmy.blahaj.zone )  to C Programming Language@programming.dev · 2 days ago

The Fastest (long) ilog10 in the West · duplexsystem

duplexsystem.org

external-link
message-square
3
link
fedilink
  • cross-posted to:
  • programming@programming.dev
  • programming
5
external-link

The Fastest (long) ilog10 in the West · duplexsystem

duplexsystem.org

duplexsystem ( duplexsystem@lemmy.blahaj.zone )  to C Programming Language@programming.dev · 2 days ago
message-square
3
link
fedilink
  • cross-posted to:
  • programming@programming.dev
  • programming
A write-up of how I wrote the fastest (long) ilog10 I have been able to find.

cross-posted from: https://lemmy.blahaj.zone/post/49717857

  • duplexsystem ( duplexsystem@lemmy.blahaj.zone ) OP
    link
    fedilink
    arrow-up
    3
    ·
    2 days ago

    Thank you so much!

    • xxce2AAb ( xxce2AAb@feddit.dk ) 
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      It’s more satisfying than ever to see people still questioning prevalent assumptions and critically reassessing the fundamentals. Lately, I’ve been writing a lot of DSP code in C, and that has certainly proven a valuable exercise for much the same reasons you demonstrate here.

      …With the added fun of dealing with numerical stability, of course.

C Programming Language@programming.dev

c_lang@programming.dev

Subscribe from Remote Instance

Create a post
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: !c_lang@programming.dev

Welcome to the C community!

C is quirky, flawed, and an enormous success.
… When I read commentary about suggestions for where C should go, I often think back and give thanks that it wasn’t developed under the advice of a worldwide crowd.
… The only way to learn a new programming language is by writing programs in it.

© Dennis Ritchie

  • irc: #c

🌐 https://en.cppreference.com/w/c

Visibility: Public
globe

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

  • 1 user / day
  • 11 users / week
  • 12 users / month
  • 120 users / 6 months
  • 4 local subscribers
  • 1.36K subscribers
  • 88 Posts
  • 220 Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Thomas ( thomas@lemmy.douwes.co.uk ) 
  • modev ( modev@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code