Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Printing floating point numbers & precision
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christian Lindig <lindig@c...>
Subject: Re: [Caml-list] Printing floating point numbers & precision

On Sep 30, 2004, at 9:25 PM, Remi Vanicat wrote:

>> I've combed the documentation to try to understand the relationship 
>> between
>> printing and precision (and accuracy!) but have come up empty handed.

A very good source for understanding printing and reading of 
floating-point numbers are these two articles; they appeared in the 
same PLDI '90 proceedings.

G. L. Steele Jr. and J. L. White. How to print floating-point numbers 
accurately. In Proceedings of the ACM SIGPLAN '90 Conference on 
Programming Language Design and Implementation, pages 112--126, White 
Plains, New York, June 1990.

W. D. Clinger, How to read floating point numbers accurately, 
Proceedings of the {ACM} {SIGPLAN} '90 Conference on Programming 
Language Design and Implementation, SIGPLAN Notices, pages 92--101, 
White Plains, New York, June 1990.

-- Christian

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners