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).
On Sat, Oct 3, 2009 at 4:07 PM, Matthew Flatt <mfl...@cs.utah.edu> wrote: > Yes, I can add those. > > At Sat, 3 Oct 2009 15:27:57 -0400, Doug Williams wrote: > > 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 <mfl...@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 <mfl...@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. > > > > > > > > > > > > > >
_________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev