fix NAN and Infinity handling for C extension
fix NAN and Infinity handling for C extension

h4ck3rm1k3/ffi-yajl,kou/ffi-yajl,h4ck3rm1k3/ffi-yajl,chef/ffi-yajl,chef/ffi-yajl,chef/ffi-yajl,kou/ffi-yajl,kou/ffi-yajl,h4ck3rm1k3/ffi-yajl