English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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:
unzip uint64lib.zip
cd uint64lib
ocaml compile.ml
ocaml uInt64.cma
#install_printer UInt64.printer16;;
UInt64.of_string "0x123456789abcdef";;

Jeff Shaw