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
release: unsigned 64-bit integer library
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-15 (22:39)
From: Jeff Shaw <shawjef3@m...>
Subject: release: unsigned 64-bit integer library
Dear Ocaml-ers,
If you would like to use C's unsigned long long type in ocaml, please 
try my library. I've tested it only on Mac OS X ppc32, ocaml 3.10.x. 
Please let me know about any modifications I should make; for instance, 
I don't know how to make the library work in windows. Also I haven't 
tested storing UInt64.t in hashtables much yet.

Quick instructions:
cd uint64lib
ocaml uInt64.cma
#install_printer UInt64.printer16;;
UInt64.of_string "0x123456789abcdef";;

Jeff Shaw