[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] small questions on bitwise and asBinaryDigits




On 26 Dec 2006, at 16:59, karlos wrote:

4.asBinaryDigits      //gives

[ 0, 0, 0, 0, 0, 1, 0, 0 ]

Could someone explain why its only 8bits?

default argument numDigits is set to 8. just set it to 16

4.asBinaryDigits(16)      //gives 16bit
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]

Any hints?

Happy cake and coffee time!
some jelly donuts too


Karsten
tom
_______________________________________________
sc-users mailing list


....................
www.tomtlalim.tk
radio.sampleandhold.org
www.myspace.com/intowhite
www.club-mtk.tk
www.tangiercluj.tk
....................