Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr