laziness, impatience, and hubris | |
PerlMonks |
Re: CHAR_BIT != 8by Anonymous Monk |
on Mar 08, 2013 at 20:07 UTC ( [id://1022483]=note: print w/replies, xml ) | Need Help?? |
printf("%.0f bits\n",log(ord(~"\0")+1)/log(2));
In Section
Seekers of Perl Wisdom
|
|