[Tutor] Bit Strings
Thomi Richards
thomi at imail.net.nz
Wed Oct 22 00:59:22 EDT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> 1.- we could/should? pad the binary values with zero's.. so binary 1
> becomes 001, or 00000001 (for an 8 bit number)
>
> 2.- we can't do a direct map from decimal->hex-> binary, because we might
> be given a decimal larger than 15, which will result in a two digit hex
> number...
>
Sorry.. I just realised that these really don't make any sense whatsoever,
when you look at the code ;) sorry, it's been a long day ;(
- --
Thomi Richards,
http://once.sourceforge.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/lg6q2tSuYV7JfuERAmh6AJ94FJeBUxbdlhoUWoJMOEEdk7TI4wCePDb2
Bt56N6CMAkvgSdnSdGKOcPk=
=lKD3
-----END PGP SIGNATURE-----
More information about the Tutor
mailing list