[racket] Optimization; converting 'Float' to 'Fixnum' in Typed Racket

From: Vincent St-Amour (stamourv at ccs.neu.edu)
Date: Sat Feb 18 23:39:44 EST 2012

At Sat, 18 Feb 2012 23:04:33 -0500,
Vincent St-Amour wrote:
> > The problem is that I can't find a way to convert a Float to a Fixnum,
> > only to an Integer. None of fl->fx, unsafe-fl->fx, or
> > fl->exact-integer work, as Type Checker tells me they're untyped
> > identifiers.
> 
> That should work. I'll look into that.

Fixed. Thanks for the report.

Vincent

Posted on the users mailing list.