Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, in fact we have a special version of bsearch to handle all the float corner cases, and part of that deals with the max being infinity [0], we can check that and then just try the largest finite floating point number.

[0] (https://github.com/oracle/truffleruby/blob/fde88d4019ab83716...)



Just a shout out that I really appreciate the work you guys are doing on GraalVM, especially the polyglot parts. It’s one of the more exciting parts of Graal that I don’t see too many people talk about, it’s usually all about native image and the JIT.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: