Preprocessor log()?

From: Richard Cavell (richardcavell_at_mail.com)
Date: 02/27/05


Date: Sun, 27 Feb 2005 13:56:31 +1100

Hi,

I want to do something like this:

const int a = "283529";
const int b = log to base 2 of a;

and have it *at compile time*.