Preprocessor log()?
From: Richard Cavell (richardcavell_at_mail.com)
Date: 02/27/05
- Next message: DHOLLINGSWORTH2: "Re: is (!ptr) or (ptr) valid way to check for NULL or NOT NULL?"
- Previous message: Richard Cavell: "Re: use of ++i, i++"
- Next in thread: Chris Torek: "Re: Preprocessor log()?"
- Reply: Chris Torek: "Re: Preprocessor log()?"
- Reply: Kevin Bracey: "Re: Preprocessor log()?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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*.
- Next message: DHOLLINGSWORTH2: "Re: is (!ptr) or (ptr) valid way to check for NULL or NOT NULL?"
- Previous message: Richard Cavell: "Re: use of ++i, i++"
- Next in thread: Chris Torek: "Re: Preprocessor log()?"
- Reply: Chris Torek: "Re: Preprocessor log()?"
- Reply: Kevin Bracey: "Re: Preprocessor log()?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]