let str = Marshal.to_string 3. []
let len = String.length str
let _ = print_endline (string_of_int len)
The above program runs fine but replacing 3. with 3.14 produces 0,248,Failure,-3,output_value: abstract value (number) on Safari. Is this a bug?
ocamlc 4.04.0, js_of_ocaml 3.5.2, Safari 12.1.2 on macOS Sierra