Integers
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hi. I'd like to work on a double dummy solver for bridge. For efficiency, I code cards in integers, 1 for the 2, 2 for the 3... 4096 for the ace. Is there a way to directly write those numbers in binary in the code, like in C ? Something like 0b100 for example ? I didn't see this in the docs (which doesn't mean it isn't there, of course :-) Thanks for your answers. \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin