Re:1.5 is the midpoint between 0 and infinity in Ruby
by Jweb_Guru on Friday November 27, 2020 @05:20PM
(#25233071)
Perhaps I'm confused, but doesn't that site indicate that the midpoint of the positive rationals is 1.0? Or am I misreading it?
[ Parent
| on HN ]
Re:1.5 is the midpoint between 0 and infinity in Ruby
by recursive on Friday November 27, 2020 @06:05PM
(#25233366)
You are not misreading. That's correct.
Re:1.5 is the midpoint between 0 and infinity in Ruby
by Jweb_Guru on Friday November 27, 2020 @08:06PM
(#25234183)
But the article is saying that in Ruby, it's 1.5, right? So it's not the same as here? Or were you referring to the general notion of a midpoint of an infinite range?
Re:1.5 is the midpoint between 0 and infinity in Ruby
by recursive on Friday November 27, 2020 @11:46PM
(#25235345)
Right again. The "also" is a reference to the parent comment.
> In surreal numbers [1], the midpoint between 0 and infinity would be the simplest number greater than 0, which is { 0 | } = 1