Re: the algorithm of decimal<->binary conversion
Mars wrote:[color=blue]
> Peter Nilsson mentioned:
>[color=green]
>> Peter Nilsson wrote:
>>[/color]
>
> And what's that "1u" mean in your program??
>
> e.g.
> q2=(1u<<(q4-1)<<1)-1;[/color]
You were not there when they were talking about constants...
1 (int)
1u, 1U (unsigned int)
1l, 1L (long)
1UL, 1ul, 1LU, 1lu ....
1.0 (double)
1.0F,1.0f (float)
1.0L,1.0l (long double)
-Michael
--
E-Mail: Mine is a gmx dot de address.
Mars wrote:[color=blue]
> Peter Nilsson mentioned:
>[color=green]
>> Peter Nilsson wrote:
>>[/color]
>
> And what's that "1u" mean in your program??
>
> e.g.
> q2=(1u<<(q4-1)<<1)-1;[/color]
You were not there when they were talking about constants...
1 (int)
1u, 1U (unsigned int)
1l, 1L (long)
1UL, 1ul, 1LU, 1lu ....
1.0 (double)
1.0F,1.0f (float)
1.0L,1.0l (long double)
-Michael
--
E-Mail: Mine is a gmx dot de address.
Comment