You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4767 Reporter:@Chris00 Assigned to:@xclerc Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z) Resolution: fixed Priority: normal Severity: minor Version: 3.11.0 Fixed in version: 3.12.1+dev Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues Related to:#4345 Monitored by:@Chris00
Bug description
This may be linked to #320. When camlp4 prints infinite float values, it uses "inf" and "-inf" instead of the OCaml "infinity" and "neg_infinity".
Example in the toplevel:
#directory "+camlp4";;
#load "dynlink.cma";;
#load "camlp4of.cma";;
open Camlp4.PreCast
let printer =
let module P = Camlp4.Printers.OCaml.Make(Syntax)
in new P.printer ()
let print_expr e =
printer#expr Format.std_formatter e
print_expr <:expr@here< $`flo: 1. /. 0. $ >>;;
The text was updated successfully, but these errors were encountered:
Original bug ID: 4767
Reporter: @Chris00
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0
Fixed in version: 3.12.1+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Related to: #4345
Monitored by: @Chris00
Bug description
This may be linked to #320. When camlp4 prints infinite float values, it uses "inf" and "-inf" instead of the OCaml "infinity" and "neg_infinity".
Example in the toplevel:
#directory "+camlp4";;
#load "dynlink.cma";;
#load "camlp4of.cma";;
open Camlp4.PreCast
let printer =
let module P = Camlp4.Printers.OCaml.Make(Syntax)
in new P.printer ()
let print_expr e =
printer#expr Format.std_formatter e
print_expr <:expr@here< $`flo: 1. /. 0. $ >>;;
The text was updated successfully, but these errors were encountered: