From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id IAA17100; Mon, 1 Sep 2003 08:51:51 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id IAA11643 for ; Mon, 1 Sep 2003 08:51:50 +0200 (MET DST) Received: from grisu.bik-gmbh.de (grisu.bik-gmbh.de [217.110.154.194]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h816pnT13403 for ; Mon, 1 Sep 2003 08:51:49 +0200 (MET DST) Received: from bik-gmbh.de ([192.168.125.193]) by grisu.bik-gmbh.de (8.12.6p2/8.12.6) with ESMTP id h816phkr003925; Mon, 1 Sep 2003 08:51:43 +0200 (CEST) (envelope-from hars@bik-gmbh.de) Message-ID: <3F52EC7A.80901@bik-gmbh.de> Date: Mon, 01 Sep 2003 08:51:38 +0200 From: Florian Hars User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, de-de, en MIME-Version: 1.0 To: Christoph Bauer CC: OCaml List Subject: Re: [Caml-list] abs min_int References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.6 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; florian:01 hars:01 hars:01 bik-gmbh:01 caml-list:01 bauer:01 florian:01 int:01 int:01 behaviour:01 exception:02 wrote:03 behavior:03 documented:07 manual:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Christoph Bauer wrote: > # abs min_int;; > - : int = -1073741824 > > IMO abs should thow an Failure exception or the manual should > point out this behavior. This is the expected behaviour as documented in the manual. Yours, Florian ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners