genpaku has joined #jruby
dangerousdave has joined #jruby
dangerousdave has quit [Client Quit]
dangerousdave has joined #jruby
dangerousdave has quit [Quit: Textual IRC Client: www.textualapp.com]
<puritylake[m]> Is the floating point implementation in Java consistent across all machines?
<headius> Generally yes
<headius> It does not hide platform differences but otherwise tries to be consistent
<puritylake[m]> Also curious if there is another feature outside of sprintf that needs to be worked on?
<enebo[m]> puritylake: just fixing issues for upcoming 9.4 largely
<puritylake[m]> Ah cool, been really trying to understand dtoa in CRuby, it’s a mess to translate that to Java due to gotos, might need to look elsewhere
<headius> Yeah that coffee is rough
<enebo[m]> puritylake: I can totally understand. It is a difficult project.
<enebo[m]> puritylake: I was just looking at this the other day: https://blog.m-ou.se/floats/
<enebo[m]> This is about converting between two float types (in Rust) but it was an interesting read in discussing floating point representation
<enebo[m]> err I should say a non-float to float u128 -> f64. I had not read this in a week.
<puritylake[m]> Should be an interesting read regardless
<enebo[m]> That code also made it into C# at MS
<puritylake[m]> I don’t have to brain to figure those things out myself lol
<puritylake[m]> s/to/the/
subbu has joined #jruby
subbu has quit [Quit: Leaving]