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

Ouch.

This affects JRuby, and potentially anyone with a JSON-based API running on the JVM with a JSON parser using the java stdlib to parse JSON floats:

    jruby-1.5.2 > JSON.parse('{"float": 2.2250738585072012e-308}')  
    ^C^C^C^C^C^C
    ^C^C^C
(not the most recent JRuby I know, but seems this is a JVM problem...)


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

Search: