On 3/29/07, Oliver Bandel wrote: > > On Thu, Mar 29, 2007 at 12:27:05PM -0400, Yaron Minsky wrote: > > So, there's a weird int_of_string bug where positive decimal numbers are > > sometimes read in as negative numbers without error. Here's the bug: > > > > http://caml.inria.fr/mantis/view.php?id=0004210 > > > > This has been marked as "wontfix" in the bug database because apparently > > there's some weird spot in the lexer that depends on the wrong behavior > of > > int_of_string. > [...] > > Oh, that's bad. :( > > But btw. it's also bad that, when overflowing of int occurs, no > exception is thrown. :( That's a problem too, but there is at least a defensible reason for that, which is that it is expensive to get integer overflow to throw an exception. Ciao, > Oliver Bandel > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >