We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e116d3 commit 1e5b6e5Copy full SHA for 1e5b6e5
compiler/tests-jsoo/test_floats.ml
@@ -26,26 +26,6 @@ let%expect_test _ =
26
Printf.printf "%g\n" (1. /. z);
27
[%expect {|-inf|}]
28
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
49
let print f =
50
match Float.classify_float f with
51
| FP_nan -> print_endline "nan"
0 commit comments