summaryrefslogtreecommitdiff
path: root/stdlib/complex.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2002-03-29 14:46:33 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2002-03-29 14:46:33 +0000
commit9950a099680bc04d5102f857311fbe2d37e21a1a (patch)
tree567f079fab20191a87f03fa389eac05f1c488f8f /stdlib/complex.mli
parent09581ecdf9fe914bfbc7029e243d3f3c2e307b23 (diff)
downloadocaml-9950a099680bc04d5102f857311fbe2d37e21a1a.tar.gz
Revu implementation et doc de Complex.sqrt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/complex.mli')
-rw-r--r--stdlib/complex.mli3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/complex.mli b/stdlib/complex.mli
index 72e974a2f7..0fc3696f58 100644
--- a/stdlib/complex.mli
+++ b/stdlib/complex.mli
@@ -55,7 +55,8 @@ val div: t -> t -> t
(** Division *)
val sqrt: t -> t
-(** Square root. The result always lies within the semispace [real >= 0].
+(** Square root. The result [x + i.y] is such that [x > 0] or
+ [x = 0] and [y >= 0].
This function has a discontinuity along the negative real axis. *)
val norm2: t -> float