Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Int overflow in literals
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-02 (16:37)
From: Marcin 'Qrczak' Kowalczyk <qrczak@k...>
Subject: Re: [Caml-list] Int overflow in literals
W li¶cie z nie, 02-11-2003, godz. 16:23, skaller pisze:

> I cannot give a specific example, but I can paint a general
> scenario: some data used with C is copied to ocaml (as text).
> For example 0xFFFFFFFF is too large .. but in C it converts to -1
> which is not too large :-)

Given that OCaml ints are one bit smaller than in C, I think this is
more likely to mask an error than to be correct.

   __("<         Marcin Kowalczyk

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: