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/Tests/divmod.c
ViewVC logotype

View of /sml/trunk/src/ml-nlffi-lib/Tests/divmod.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 840 - (download) (as text) (annotate)
Fri Jun 15 19:05:19 2001 UTC (18 years, 3 months ago) by blume
File size: 136 byte(s)
c-calls (and NLFFI) implementation for Sparc
struct dmres {
  int d;
  int m;
};

struct dmres divmod (int x, int y)
{
  struct dmres r;
  r.d = x / y;
  r.m = x % y;
  return r;
}

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