ocaml-rs icon indicating copy to clipboard operation
ocaml-rs copied to clipboard

u32/u64 <--> int32/int64: dangerous to allow?

Open dannywillems opened this issue 1 year ago • 1 comments

The doc says u32 (resp. u64) is mapped to int32 (resp. u64). Is it not dangerous to allow this regarding overflow? Should it be mapped to a non native Caml value like done (though using an indirection) in ocaml-integers?

dannywillems avatar May 10 '23 14:05 dannywillems