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 marshalling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-01-16 (16:08)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] int marshalling
> How does marshalling of type int work, it being of different widths on
> 64-bit machines?  That is, if a 64-bit int value larger than 2^31 is
> marshalled on a 64-bit system, what happens if a 32-bit system tries
> to unmarshall it?

You get a run-time exception Failure "input_value: integer too large".

- Xavier Leroy
Bug reports:  FAQ:
To unsubscribe, mail  Archives: