diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2012-01-12 15:53:55 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2012-01-12 15:53:55 +0000 |
| commit | b0300990da5c0b6d7f4d968a5f5a0e43968af2b9 (patch) | |
| tree | 7f347315af28d29fe74c564a67f951eaffb9277f /stdlib/pervasives.mli | |
| parent | 10ed81e2c8ded4e86b96503a367ff971aa662d48 (diff) | |
| download | ocaml-b0300990da5c0b6d7f4d968a5f5a0e43968af2b9.tar.gz | |
add missing @since; cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12020 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/pervasives.mli')
| -rw-r--r-- | stdlib/pervasives.mli | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/stdlib/pervasives.mli b/stdlib/pervasives.mli index fc3bc60f2d..9da56a2615 100644 --- a/stdlib/pervasives.mli +++ b/stdlib/pervasives.mli @@ -314,7 +314,8 @@ external atan2 : float -> float -> float = "caml_atan2_float" "atan2" "float" and [y] are used to determine the quadrant of the result. Result is in radians and is between [-pi] and [pi]. *) -external hypot : float -> float -> float = "caml_hypot_float" "caml_hypot" "float" +external hypot : float -> float -> float + = "caml_hypot_float" "caml_hypot" "float" (** [hypot x y] returns [sqrt(x *. x + y *. y)], that is, the length of the hypotenuse of a right-angled triangle with sides of length [x] and [y], or, equivalently, the distance of the point [(x,y)] @@ -344,11 +345,13 @@ external floor : float -> float = "caml_floor_float" "floor" "float" external abs_float : float -> float = "%absfloat" (** [abs_float f] returns the absolute value of [f]. *) -external copysign : float -> float -> float = "caml_copysign_float" "caml_copysign" "float" +external copysign : float -> float -> float + = "caml_copysign_float" "caml_copysign" "float" (** [copysign x y] returns a float whose absolute value is that of [x] and whose sign is that of [y]. If [x] is [nan], returns [nan]. If [y] is [nan], returns either [x] or [-. x], but it is not - specified which. *) + specified which. + @since 3.13.0 *) external mod_float : float -> float -> float = "caml_fmod_float" "fmod" "float" (** [mod_float a b] returns the remainder of [a] with respect to |
