Le Monday 04 Apr 2011 à 11:11:33 (+0100), Pedro Borges a écrit :
> On Mon, Apr 4, 2011 at 3:24 AM, Brian Ledger <[email protected]> wrote:
>
> >> Well using Uint keeps the user from passing negative arguments
> >> plus respects the type of the original options so I thought it
> >> was necessary. Why do you think it is unnecessary?
> >
> > Ocaml's implementation of the Int64 type explicitly allocates 64 bits, so
> > that an Int64 can denote any unsigned integer value and more. Testing for
> > negative integers is accomplished via the set_uint64 function, which will
> > raise an exception for negative integer values.
>
> But then the full uint64 number range isn't available.
It's available from C, but misinterpreted in OCaml.
--
Guillaume Yziquel
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev