RubyConf 2022: 1.5 is the Midpoint Between 0 and Infinity by Peter Zhu
Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=RQsH54GK85M
What’s the midpoint between 0 and infinity? Well, the answer differs depending on whether you are asking a mathematician, philosopher, or a Ruby developer. I’m not a mathematician or a philosopher, but I am a Ruby developer, so I can tell you that 1.5 is the midpoint between 0 and infinity. In this talk, we'll discuss the binary search algorithm, IEEE 754 floating-point numbers, and a clever trick Ruby uses to perform binary search on floating-point ranges.
Other Videos By Confreaks
Tags:
Ruby
RubyConf
Ruby Language
Ruby on Rails
Ruby Friends
Ruby Gems