Fix PR#5479

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12031 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Fabrice Le Fessant 2012-01-17 20:32:33 +00:00
parent 55688836f4
commit 6f9f5cdfdb
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,7 @@ Feature wishes:
- PR#5454: Digest.compare is missing and md5 doc update
- PR#5467: no extern "C" into ocaml C-stub headers
- PR#5478: ocamlopt assumes ar command exists
- PR5479: Num.num_of_string may raise an exception, not reflected in the documentation.
Shedding weight:
* Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS.

View File

@ -155,7 +155,9 @@ val approx_num_exp : int -> num -> string
first argument is the number of digits in the mantissa. *)
val num_of_string : string -> num
(** Convert a string to a number. *)
(** Convert a string to a number.
Raise [Failure "num_of_string"] if the given string is not
a valid representation of an integer *)
(** {6 Coercions between numerical types} *)