Skip to content

Commit 1e5b6e5

Browse files
committed
Float test: remove externals
They are no longer needed now that we require OCaml >= 4.13.
1 parent 9e116d3 commit 1e5b6e5

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

compiler/tests-jsoo/test_floats.ml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -26,26 +26,6 @@ let%expect_test _ =
2626
Printf.printf "%g\n" (1. /. z);
2727
[%expect {|-inf|}]
2828

29-
module Float = struct
30-
include Float
31-
32-
external acosh : float -> float = "caml_acosh_float"
33-
34-
external asinh : float -> float = "caml_asinh_float"
35-
36-
external atanh : float -> float = "caml_atanh_float"
37-
38-
external erf : float -> float = "caml_erf_float"
39-
40-
external erfc : float -> float = "caml_erfc_float"
41-
42-
external cbrt : float -> float = "caml_cbrt_float"
43-
44-
external exp2 : float -> float = "caml_exp2_float"
45-
46-
external log2 : float -> float = "caml_log2_float"
47-
end
48-
4929
let print f =
5030
match Float.classify_float f with
5131
| FP_nan -> print_endline "nan"

0 commit comments

Comments
 (0)