Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] abs min_int
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: IKEDA Katsumi <ikeda@m...>
Subject: Re: [Caml-list] abs min_int
Hi,

From: Christoph Bauer <c_bauer@informatik.uni-kl.de>
Date: Fri, 29 Aug 2003 10:22:01 +0200
> 
> This is not quite true:
> 
>         Objective Caml version 3.07+beta 2
> 
> # abs min_int;;
> - : int = -1073741824

        Objective Caml version 3.06

# abs (-1073741824);;
- : int = -1073741824
# abs (-1073741823);;
- : int = 1073741823
# print_int max_int;;
1073741823- : unit = ()

1073741824 is larger than max_int;

-- 
IKEDA Katsumi  <ikeda@msi.co.jp>

-------------------
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