projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5562375
)
Fix think-o in previous change.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 25 Feb 2012 06:23:17 +0000
(22:23 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 25 Feb 2012 06:23:17 +0000
(22:23 -0800)
src/microcode/fixnum.c
patch
|
blob
|
history
diff --git
a/src/microcode/fixnum.c
b/src/microcode/fixnum.c
index 3af0dae673de0e9c57ad78c4092ee3e9569f34b7..b889bf897a72976de02d3db2c600e5e821f9a94d 100644
(file)
--- a/
src/microcode/fixnum.c
+++ b/
src/microcode/fixnum.c
@@
-209,7
+209,7
@@
DEFINE_PRIMITIVE ("FIXNUM-QUOTIENT", Prim_fixnum_quotient, 2, 2, 0)
{
long numerator = (arg_fixnum (1));
long denominator = (arg_fixnum (2));
- FIXNUM_RESULT (
numer
ator == 0
+ FIXNUM_RESULT (
denomin
ator == 0
? (error_bad_range_arg (2), 0)
: FIXNUM_QUOTIENT (numerator, denominator));
}
@@
-221,7
+221,7
@@
DEFINE_PRIMITIVE ("FIXNUM-REMAINDER", Prim_fixnum_remainder, 2, 2, 0)
{
long numerator = (arg_fixnum (1));
long denominator = (arg_fixnum (2));
- FIXNUM_RESULT (
numer
ator == 0
+ FIXNUM_RESULT (
denomin
ator == 0
? (error_bad_range_arg (2), 0)
: FIXNUM_REMAINDER (numerator, denominator));
}