[racket] Formating Printing of Real Number

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Jul 27 14:33:53 EDT 2012

Jos Koot has a formatting library that deals with fp numbers. But I couldn't find it on planet. 


On Jul 27, 2012, at 2:27 PM, Ray Racine wrote:

> Unable to locate a means to control the output formatting of Real/Floats/what-have-you either via current formatting facilities (format procedure etc) or via some parameter.  Is there anything available?
> 
> ;; stipulate in some manner
> > (asin 1.0+5.0i)
> 0.1938+2.3310i
> 
> vs.
> 
> > (asin 1.0+5.0i)
> 0.1937931365549321+2.3309746530493123i
> 
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users



Posted on the users mailing list.