[plt-dev] `unsafe-fl' and unboxing

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Sat Oct 3 15:27:57 EDT 2009

Matthew,

Do you think you can sneak in unsafe-fx-abs and unsafe-fl-abs? It's a pretty
common function - at least in the science collection - that I assume would
compile nicely. [I promise not to ask for too many of these.]

Doug

On Sat, Oct 3, 2009 at 12:56 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

> `inexact-real?'
>
> At Sat, 3 Oct 2009 12:47:35 -0400, Doug Williams wrote:
> > Is there an existing contract to check for a float? For example, mean
> would
> > now be guaranteed to return a float instead of a real. It would be nice
> to
> > specify this is the contract.
> >
> > On Sat, Oct 3, 2009 at 12:36 PM, Matthew Flatt <mflatt at cs.utah.edu>
> wrote:
> >
> > > At Sat, 3 Oct 2009 12:29:01 -0400, Doug Williams wrote:
> > > > Are the basic unsafe-fl, unsafe-fx, and unsafe-vector-ref operations
> > > > included in 4.2.2?
> > >
> > > Yes --- except for `unsafe-fx->fl', which is new in 4.2.2.3.
> > >
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20091003/974cb35c/attachment.html>

Posted on the dev mailing list.