Ocaml_intrinsics_kernel.Float
val min : float -> float -> float
Equivalent to if x < y then x else y.
if x < y then x else y
On an x86-64 machine, this compiles to minsd xmm0, xmm1. On ARM, this calls a C implementation.
minsd xmm0, xmm1
val max : float -> float -> float
Equivalent to if x > y then x else y.
if x > y then x else y
On an x86-64 machine, this compiles to maxsd xmm0, xmm1. On ARM, this calls a C implementation.
maxsd xmm0, xmm1