Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f526b955
Commit
f526b955
authored
Jun 01, 1993
by
Richard M. Stallman
Browse files
(Frem): Fix result sign properly.
parent
348d4dd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/data.c
src/data.c
+2
-1
No files found.
src/data.c
View file @
f526b955
...
...
@@ -1762,7 +1762,8 @@ Both must be numbers or markers.")
#else
f1
=
drem
(
f1
,
f2
);
#endif
if
(
f1
<
0
)
/* If the "remainder" comes out with the wrong sign, fix it. */
if
((
f1
<
0
)
!=
(
f2
<
0
))
f1
+=
f2
;
return
(
make_float
(
f1
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment