Top all-time · #17736
Ryan Juckett
Personal blog · ryanjuckett.comprogrammingmath
Ryan Juckett writes RyanJuckett.com, a personal blog at ryanjuckett.com about programming and math. Since 2014, 4 different Hacker News readers have linked it 4 times, most often “Printing Floating-Point Numbers (2014)”. No feed was found, so read it on the site itself.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
HN readers link Ryan Juckett's post on a fast I/O library benchmarked against fmt, stdio and iostream. One commenter discusses the float-to-decimal round-trip problem the post touches, and another comments on easing curves.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Printing Floating-Point Numbers (2014)2 people · 2 mentions · first linked 2015-11-13
What Hacker News says?
“it seems like it should be pretty fast (relative to system calls) to convert binary to decimal because 10 has a factor of 2“ The problem isn’t to find a decimal representation, it’s to find one that round-trips and, among those, the ‘best’ one, and do that fast. With best, people typically mean that the IEEE float closest to ⅒ prints as “0.1”, the one closest to 42/100 as “0.42”, etc. In general, you want to produc…
Comment linking /programming/printing-floating-point-numbers/
on “I/O library 6x faster than fmt, 10x faster than stdio.h and iostream”Submitted Printing Floating-Point Numbers (2014) as a story · 21 points
HN discussionI think it's crazy how one guy's static interpolation curves ( http://www.robertpenner.com/easing/ ) keep showing up verbatim in an ever increasing array of tweening frameworks over a decade since he first posted them. These interpolation curves can be nice in a pinch, but like I said before, the curves the curves are static, and so you can run into problems if you want to interrupt an action with another, or layer…
Comment linking /programming/damped-springs/
on “React Tween State”Submitted Damped Springs as a story · 1 points
HN discussion