??? 02/27/04 14:10 Read: times |
#65618 - RE: Binary constant macros Responding to: ???'s previous message |
@Oleg,
thank you for the hint, now it should work. The example from Dan works also. There are some blanks inserted by copy+paste, which are not blanks in real and so the compiler was confused. <pre> #define B8(y) ( 0x##y & 1 | 0x##y >> 3 & 2 | 0x##y >> 6 & 4 | 0x##y >> 9 & 8 | 0x##y >> 12 & 16 | 0x##y >> 15 & 32 | 0x##y >> 18 & 64 | 0x##y >> 21 & 128 ) Peter |
Topic | Author | Date |
Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros![]() | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 | |
RE: Binary constant macros | 01/01/70 00:00 |