[gambit-list] Simple benchmark of |->integer| and |->flonum| on integer, flonum and rational input. For the further if you have any idea of a definition faster than (inexact->exact (floor n)) feel free to share :)

Marc Feeley feeley at iro.umontreal.ca
Thu Apr 25 09:06:03 EDT 2013


On 2013-04-25, at 8:54 AM, Mikael <mikael.rcv at gmail.com> wrote:

> Hi!
> 
> Aha.
> 
> Is there any difference between ##flonum->fixnum , ##flonum.->fixnum and ##fl->fx?
> 
> (And in the other direction, ##fixnum->flonum , ##flonum.<-fixnum and ##fl<-fx )
> 

They are all equivalent.  The ##fixnum.xxx and ##flonum.xxx primitives (with the period) are the old names that haven't been removed yet.

Marc




More information about the Gambit-list mailing list