Skip to content
Snippets Groups Projects
Commit 319e6d2f authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[logic-interp] avoid creating non-supported long-double ops

parent d0c15bc9
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ let rec logic_type_to_typ = function
| Ctype typ -> typ
| Linteger -> TInt(ILongLong,[]) (*TODO: to have an unlimited integer type
in the logic interpretation*)
| Lreal -> TFloat(FLongDouble,[]) (* TODO: handle reals, not floats... *)
| Lreal -> TFloat(FDouble,[]) (* TODO: handle reals, not floats... *)
| Ltype({lt_name = name},[]) when name = Utf8_logic.boolean ->
TInt(ILongLong,[])
| Ltype({lt_name = "set"},[t]) -> logic_type_to_typ t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment