[racket] Formating Printing of Real Number
There's also SRFI-48 and SRFI-54.
There's also catn in unstable/cat, which was my attempt to make numeric
formatting friendlier and more Rackety. But it is, of course, unstable.
Ryan
On 07/27/2012 03:17 PM, Ray Racine wrote:
> Other than being functionally comprehensive and through in
> documentation, it'll do. : )
>
> Probably should be a standard Racket Collection library.
>
> Ray
>
> On Fri, Jul 27, 2012 at 2:54 PM, Ray Racine <ray.racine at gmail.com
> <mailto:ray.racine at gmail.com>> wrote:
>
> Think I found it. Thanks.
>
> http://planet.racket-lang.org/display.ss?package=planet-fmt.plt&owner=joskoot
> <http://planet.racket-lang.org/display.ss?package=planet-fmt.plt&owner=joskoot>
>
>
> On Fri, Jul 27, 2012 at 2:33 PM, Matthias Felleisen
> <matthias at ccs.neu.edu <mailto:matthias at ccs.neu.edu>> wrote:
>
>
> 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
>
>
>
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users