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 1742 - (download) (annotate)
Tue Dec 21 21:04:01 2004 UTC (14 years, 10 months ago) by mblume
File size: 604 byte(s)
(partially) implemented long long in nlffi
(* mlrep-i32f64.sml
 *
 *   User-visible ML-side representation of certain primitive C types.
 *   x86/Sparc/PPC version (all ints: 32 bit, all floats: 64 bit)
 *
 * Copyright (c) 2004 by The Fellowship of SML/NJ
 *
 * Author: Matthias Blume (blume@tti-c.org)
 *)
structure MLRep = struct
    structure Signed = Int32
    structure LongLongSigned = Int64
    structure Unsigned = Word32
    structure LongLongUnsigned = Word64
    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