jon.recoil.org

Module Float32.With_weird_nan_behaviorSource

Sourceval min : t -> t -> t

min x y returns the minimum of x and y. If either x or y is nan, y is returned. If both x and y equal zero, y is returned. The amd64 OxCaml compiler translates this call to MINSS.

Sourceval max : t -> t -> t

max x y returns the maximum of x and y. If either x or y is nan, y is returned. If both x and y equal zero, y is returned. The amd64 OxCaml compiler translates this call to MAXSS.