AI summary not available
This video doesn't have a transcript yet
Transcript not available
This video doesn't have captions
Start a conversation
Ask anything about RubyConf 2022: 1.5 is the Midpoint Between 0 and Infinity by Peter Zhu
100/100 free messages remaining
AI responses may be inaccurate. Verify important information.
RubyConf 2022: 1.5 is the Midpoint Between 0 and Infinity by Peter Zhu
Ruby Central
349 views
Feb 6, 2023
24:19
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.