Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

http://www.msu.edu/~shawjef3/uint64lib.zip

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

Sincerely,
Jeff Shaw