[racket] order-of-magnitude (was ~r: formatting 0.0 with 'exponential and #:precision)
Attached an order-of-magnitude with optional base argument.
May be you want to replace the current version that I wrote about one or two
years ago.
IIRC Matthew Flatt included it in the math.
File order-of-magnitude.rkt includes a commented out test.
Jos
> -----Original Message-----
> From: Ryan Culpepper [mailto:ryanc at ccs.neu.edu]
> Sent: miércoles, 08 de mayo de 2013 18:58
> To: Jos Koot
> Cc: users at racket-lang.org
> Subject: Re: [racket] ~r: formatting 0.0 with 'exponential
> and #:precision
>
> Thanks for the report! I've taken your suggestion for ~r's
> order-of-magnitude estimate. (I didn't change the version in
> racket/math, though, but it seems like a reasonable idea to me.)
>
> Ryan
>
> snip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order-of-magnitude.scrbl
Type: application/octet-stream
Size: 548 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20130508/9dd3e664/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: order-of-magnitude.rkt
Type: application/octet-stream
Size: 1475 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20130508/9dd3e664/attachment-0001.obj>