One more thing. Is there a one argument unsafe-fx- and unsafe-fl- to negate a fixnum or float? [I suppose the same question would apply to division/inversion, although I don't use it as much.] Obviously, I can use (unsafe-fl- 0.0 x) for (unsafe-fl- x).<br>
<br><div class="gmail_quote">On Sat, Oct 3, 2009 at 4:07 PM, Matthew Flatt <span dir="ltr"><<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, I can add those.<br>
<div><div></div><div class="h5"><br>
At Sat, 3 Oct 2009 15:27:57 -0400, Doug Williams wrote:<br>
> Matthew,<br>
><br>
> Do you think you can sneak in unsafe-fx-abs and unsafe-fl-abs? It's a pretty<br>
> common function - at least in the science collection - that I assume would<br>
> compile nicely. [I promise not to ask for too many of these.]<br>
><br>
> Doug<br>
><br>
> On Sat, Oct 3, 2009 at 12:56 PM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:<br>
><br>
> > `inexact-real?'<br>
> ><br>
> > At Sat, 3 Oct 2009 12:47:35 -0400, Doug Williams wrote:<br>
> > > Is there an existing contract to check for a float? For example, mean<br>
> > would<br>
> > > now be guaranteed to return a float instead of a real. It would be nice<br>
> > to<br>
> > > specify this is the contract.<br>
> > ><br>
> > > On Sat, Oct 3, 2009 at 12:36 PM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>><br>
> > wrote:<br>
> > ><br>
> > > > At Sat, 3 Oct 2009 12:29:01 -0400, Doug Williams wrote:<br>
> > > > > Are the basic unsafe-fl, unsafe-fx, and unsafe-vector-ref operations<br>
> > > > > included in 4.2.2?<br>
> > > ><br>
> > > > Yes --- except for `unsafe-fx->fl', which is new in 4.2.2.3.<br>
> > > ><br>
> > > ><br>
> ><br>
</div></div></blockquote></div><br>