> Daniel A. Koepke wrote... > You should be receiving boku warnings about the invalid conversions and > the invalid shifts on your #defines. You want > > #define BIT36 (1ULL << 36ULL) > #define BIT37 (1ULL << 37ULL) > > and to use %Lu (or %llu or %qu -- your choice, %Lu is my favorite, but > all > work fine). You can do > > #define BIT36 (1LL << 36LL) > . . . > and use %Ld, %lld, or %qd, but it's not recommended that you make your > bitvectors signed. > Actually I receive no warnings using (1ULL << 36) and lld. However, now that you point it out it becomes quite obvious. Thanks for the help. -Jac -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/05/01 PST