This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
open! Base
|
||||
open Stdio
|
||||
open Float
|
||||
|
||||
let%expect_test "iround_nearest_exn noalloc" =
|
||||
let t = Sys.opaque_identity 205.414 in
|
||||
Expect_test_helpers_core.require_no_allocation [%here] (fun () -> iround_nearest_exn t)
|
||||
|> printf "%d\n";
|
||||
[%expect {| 205 |}]
|
||||
;;
|
||||
Loading…
Add table
Add a link
Reference in a new issue