home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!spool.mu.edu!agate!dog.ee.lbl.gov!horse.ee.lbl.gov!torek
- From: torek@horse.ee.lbl.gov (Chris Torek)
- Newsgroups: comp.lang.c
- Subject: Re: How to print an integer as binary?
- Date: 8 Nov 1992 12:29:27 GMT
- Organization: Lawrence Berkeley Laboratory, Berkeley
- Lines: 10
- Message-ID: <27300@dog.ee.lbl.gov>
- References: <1992Nov4.180622.6568@csd.uwe.ac.uk> <1dbpe8INNcop@frigate.doc.ic.ac.uk> <27265@dog.ee.lbl.gov>
- Reply-To: torek@horse.ee.lbl.gov (Chris Torek)
- NNTP-Posting-Host: 128.3.112.15
-
- In article <27265@dog.ee.lbl.gov> I included an `ltostr' function
- that acts as the counterpart to `strtol'. In it I had:
-
- > static const char digits[] = "0123456789abcdefghijklmnopqrstuvwyxz";
-
- Surprisingly, no one has yet sent me mail noting that y and x are
- interchanged here. I guess not many people use bases > 33. :-)
- --
- In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 510 486 5427)
- Berkeley, CA Domain: torek@ee.lbl.gov
-