[metapost] Units unaccuracy with numbersystem set to double
luigi scarso
luigi.scarso at gmail.com
Thu Apr 3 17:12:58 CEST 2014
On Thu, Apr 3, 2014 at 4:45 PM, Nelson H. F. Beebe <beebe at math.utah.edu>wrote:
>
> Don Knuth wrote a lovely paper with a memorable title on the
> fixed-point binary arithmetic of TeX and Metafont, and the problems of
> representing numbers in decimal such that exact round-trip conversion
> (decimal -> binary -> decimal) is guaranteed:
>
> @InCollection{Knuth:1990:SPW,
> author = "Donald E. Knuth",
> title = "A Simple Program Whose Proof Isn't",
> crossref = "Feijen:1990:BOB",
> chapter = "27",
> pages = "233--242",
> year = "1990",
> bibdate = "Mon Feb 03 07:07:55 2003",
> bibsource = "http://www.math.utah.edu/pub/tex/bib/fparith.bib",
> note = "This paper discusses the algorithm used in {\TeX} for
> converting between decimal and scaled fixed-point
> binary values, and for guaranteeing a minimum number of
> digits in the decimal representation. See also
> \cite{Clinger:1990:HRF,Clinger:2004:RHR} for decimal to
> binary conversion,
> \cite{Steele:1990:HPF,Steele:2004:RHP} for binary to
> decimal conversion, and \cite{Gries:1990:BDO} for an
> alternate proof of Knuth's algorithm.",
> acknowledgement = ack-nhfb,
> keywords = "decimal floating-point arithmetic",
> }
>
> @String{pub-SV = "Spring{\-}er-Ver{\-}lag"}
> @String{pub-SV:adr = "Berlin, Germany~/ Heidelberg,
> Germany~/ London, UK~/ etc."}
>
> @Book{Feijen:1990:BOB,
> editor = "W. H. J. Feijen and A. J. M. {van Gasteren} and D.
> Gries and J. Misra",
> booktitle = "Beauty is our business: a birthday salute to {Edsger
> W. Dijkstra}",
> title = "Beauty is our business: a birthday salute to {Edsger
> W. Dijkstra}",
> publisher = pub-SV,
> address = pub-SV:adr,
> pages = "xix + 453",
> year = "1990",
> ISBN = "0-387-97299-4",
> ISBN-13 = "978-0-387-97299-2",
> LCCN = "QA76 .B326 1990",
> bibdate = "Thu Mar 24 09:27:40 1994",
> bibsource = "http://www.math.utah.edu/pub/tex/bib/fparith.bib",
> acknowledgement = ack-nhfb,
> }
>
> Also in the Selected Papers on Design of Alghorithms
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20140403/07ad996d/attachment.html>
More information about the metapost
mailing list