示例#1
0
CAMLprim value caml_hypot_float(value f, value g)
{
  return caml_copy_double(caml_hypot(Double_val(f), Double_val(g)));
}
示例#2
0
文件: floats.c 项目: MassD/ocaml
CAMLprim value caml_hypot_float_r(CAML_R, value f, value g)
{
  return caml_copy_double_r(ctx, caml_hypot(Double_val(f), Double_val(g)));
}