caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* 2147483648l < 2147483647l
@ 2010-01-05 12:59 Matej Kosik
  2010-01-05 13:17 ` [Caml-list] " Olivier Andrieu
  2010-01-05 13:26 ` David Allsopp
  0 siblings, 2 replies; 6+ messages in thread
From: Matej Kosik @ 2010-01-05 12:59 UTC (permalink / raw)
  To: caml-list

Hello,

I am sorry, I have a stupid question.
I would like to ask if this:

	# 2147483648l < 2147483647l;;
	- : bool = true

should not regarded as a bug. In my project I need Int32 value and above
behavior surprised me. Value

	2147483648l

should not be allowed at all because it cannot be encoded to 32-bit
signed integer encoded with 2's complement representation.

Thanks in advance for help.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-01-19 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-05 12:59 2147483648l < 2147483647l Matej Kosik
2010-01-05 13:17 ` [Caml-list] " Olivier Andrieu
2010-01-05 13:26 ` David Allsopp
2010-01-19 17:59   ` Goswin von Brederlow
2010-01-19 18:28     ` David Allsopp
2010-01-19 19:15       ` Elnatan Reisner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).