28 stop("mod function: divide by zero");
30 if (!isnum(p1
) || !isnum(p2
)) {
42 if (n
== (int) 0x80000000)
43 stop("mod function: cannot convert float value to integer");
51 if (n
== (int) 0x80000000)
52 stop("mod function: cannot convert float value to integer");
57 if (!isinteger(p1
) || !isinteger(p2
))
58 stop("mod function: integer arguments expected");
62 p3
->u
.q
.a
= mmod(p1
->u
.q
.a
, p2
->u
.q
.a
);
101 "Stop: mod function: divide by zero",
104 "Stop: mod function: divide by zero",
107 "Stop: mod function: cannot convert float value to integer",
110 "Stop: mod function: integer arguments expected",
119 test(__FILE__
, s
, sizeof s
/ sizeof (char *));