Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/ml-nlffi-lib/memory/mlrep-i32f64.sml
ViewVC logotype

View of /sml/trunk/src/ml-nlffi-lib/memory/mlrep-i32f64.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1036 - (download) (annotate)
Fri Jan 25 22:05:44 2002 UTC (17 years, 8 months ago) by blume
File size: 507 byte(s)
more FFI tweaks and improvements
(*
 * User-visible ML-side representation of certain primitive C types.
 *
 * x86/Sparc version (all ints: 32 bit, all floats: 64 bit)
 *
 *  (C) 2001, Lucent Technologies, Bell Labs
 *
 * author: Matthias Blume (blume@research.bell-labs.com)
 *)
structure MLRep = struct
    structure Signed = Int32
    structure Unsigned = Word32
    structure Real = Real64

    (* word-style bit-operations on integers... *)
    structure SignedBitops = IntBitOps
				 (structure I = Signed structure W = Unsigned)
end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0