Re: Question About Z-Level Number Thingie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Gabriel Boehme wrote:
>Not bad! Being in something of a picky mood, though, I took it upon myse=
lf
>to rewrite the above routine, and also to write its partner in crime. Th=
is
>code is given below, along with a "sanity test" to insure that everythin=
g
>converts back & forth properly.
>
>Further suggestions/modifications/improvements are encouraged!
>

Very nice, and probably faster than mine, too.  How about making it handl=
e
negative numbers?  That would include two's complement notation for binar=
y
numbers, of course...  I'll leave it to you, since my pickiness is all
faded away by around 10:30 AM.

- Colin

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu