Original bug ID: 3302
Reporter: administrator
Status: closed (set by @xavierleroy on 2011-05-29T10:20:30Z)
Resolution: fixed
Priority: normal
Severity: feature
Fixed in version: 3.12.0+dev
Category: ~DO NOT USE (was: OCaml general)
Related to: #3582 #4210 #4245
Monitored by: jm
Bug description
Messieurs,
I would have expected Int64.of_string to detect overflow when an
apparently positive string produces a negative integer:
: nr@toller 11359 ; ocaml
Objective Caml version 3.08.1
Int64.of_string "9223372036854775808";;
- : int64 = -9223372036854775808L
Norman