[MLton-devel] FFI real as float? Also a note to Anoq.

Matthew Fluet fluet@cs.cornell.edu
Thu, 24 Jul 2003 15:11:23 -0400 (EDT)


> > structure Real32:
> >    sig
> >       type real
> >
> >       val toLarge: real -> LargeReal.real
> >       val fromLarge: IEEEReal.rounding_mode -> LargeReal.real -> real
> >    end
>
> I think we could easily do this with _import, as long as we had x86
> codegen support for Real32.real.  Matthew, is this very hard?

No.  In fact, I don't know of anything off the top of my head that
suggests the x86 codegen won't just work with Real32.real.
(A similar comment applies to all the Real?? primitives; the one exception
is probably real conversions.)



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel