Trond Danielsen wrote:

> Sorry for not expressing myself clearly. This is what I was thinking of:
> 
> d_length = (int)(1ULL << degree)-1;

That's a 64-bit unsigned long long constant equal to 1.  I need that to
be able to shift left by 32; if it were just the 1UL it would fall off
the end.

> Sorry to bother you.

No, you inadvertently found a bug in my code anyway, so thanks.

After going through the work of creating a 64-bit value, I was
immediately casting it to 'int'.  It's been fixed.  The joys of having
ones "intermediate work product" on display for the world :-)

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to