Closed zuiderkwast closed 1 year ago
Erlang is odd here, since Erlang requires a decimal fraction part (i.e. a dot followed by digits). The number "1e100" needs to be rewritten to "1.0e100" before parsing it using binary_to_float/1.
Good finding. I just noticed in the RESP3 spec that it states Exponential format is invalid., isn't that using an exponent?
Good finding.
I just noticed in the RESP3 spec that it states Exponential format is invalid., isn't that using an exponent?
Exponential format is invalid.
Yep, I saw that too. I already opened these:
Erlang is odd here, since Erlang requires a decimal fraction part (i.e. a dot followed by digits). The number "1e100" needs to be rewritten to "1.0e100" before parsing it using binary_to_float/1.