[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (OT) Defining Variables in C with Bases other than 2 or 16



On Tuesday 15 February 2005 06:34 pm, martin f krafft wrote:

> Use the fact that 2^18 % 12 == 0

Umm, you sure about that?  Whether "^" means "to the power of" or "xor", 2^18 
is not divisible by twelve (or any other non-power-of-two number).
-- 
Kirk Strauser

Attachment: pgpes6BEOmg_r.pgp
Description: PGP signature


Reply to: