« * K @matz.bsky.social

JP Camara @handle.invalid

2024-11-26 12:23 UTC

Looking to impress your Ruby friends by calculating the largest known prime, 2**136_279_841-1? On Ruby 3.4.0-preview2 and earlier, 2**136_279_841-1 logs a warning and returns Infinity 😔. Thanks to @mametter.bsky.social, Ruby 3.4 will handle this calculation just fine! github.com/ruby/ruby/pu... 🧵

Link: Do not round `a**b` to infinity by mame · Pull Request #12033 · ruby/ruby (github.com/ruby/ruby/pull/12033)

13 likes, 5 reposts, 1 replies

3 Next post4 More from @handle.invalidBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup