Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Counting bits in a big_int
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron Minsky <yminsky@g...>
Subject: [Caml-list] Counting bits in a big_int
Any thoughts on what would be a reasonably efficient way to count the
number of bits in a big_int?  There's no method that directly does it.
 There is the "num_digits_big_int" call, but that returns the number
of machine words.

y

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners