Article View: comp.lang.misc
Article #2871Re: Multiple-Precision Binary to ASCII Decimal Machine Languae Routine
From: Dan Bernstein
Date: Sat, 02 Mar 1991 00:17
Date: Sat, 02 Mar 1991 00:17
10 lines
1027 bytes
1027 bytes
In article <25716@neptune.inf.ethz.ch> brandis@inf.ethz.ch (Marc Brandis) writes: > Let us assume we just want to convert a 16-bit value N to its BCD > representation. I choose N = 1280. [ ... ] > I do not see how this algorithm can be made work, and I really doubt that it > can be done without a division at all. Does anybody know for sure? Why don't you look up the answer in Knuth rather than asking the net? ---Dan
Technical Details
Message-ID:
<5519:Mar200:17:1291@kramden.acf.nyu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!cmcl2!kramden.acf.nyu.edu!brnstndReferences:
<1991Feb18.155207.24378@ux1.cso.uiuc.edu> <7565@uklirb.informatik.uni-kl.de> <25716@neptune.inf.ethz.ch>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!adm!cmcl2!kramden.acf.nyu.edu!brnstnd From: brnstnd@kramden.acf.nyu.edu (Dan Bernstein) Newsgroups: comp.lang.misc,comp.sys.ibm.pc.misc,comp.sources.wanted Subject: Re: Multiple-Precision Binary to ASCII Decimal Machine Languae Routine Message-ID: <5519:Mar200:17:1291@kramden.acf.nyu.edu> Date: 2 Mar 91 00:17:12 GMT References: <1991Feb18.155207.24378@ux1.cso.uiuc.edu> <7565@uklirb.informatik.uni-kl.de> <25716@neptune.inf.ethz.ch> Organization: IR Lines: 10