Skip to content

Commit

Permalink
Save a few bytes for GMP-gcd in CCL
Browse files Browse the repository at this point in the history
  • Loading branch information
oldk1331 committed Oct 21, 2024
1 parent 0f43572 commit c39b7de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
2024-10-18 Qian Yun <[email protected]>
2024-10-21 Qian Yun <[email protected]>

* src/lisp/num_gmp.lisp: Save a few bytes for GMP-gcd in CCL

2024-10-21 Qian Yun <[email protected]>

* src/lisp/fricas-lisp.lisp: Workaround CLISP 'truename' bug

Expand Down
2 changes: 1 addition & 1 deletion src/lisp/num_gmp.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@
(rl (if (< xl yl) xl yl))
(xlb (words_to_bytes xl))
(ylb (words_to_bytes yl))
(rlb (+ xlb ylb))
(rlb (if (< xlb ylb) xlb ylb))
)
(declare (type fixnum xl yl rl xlb ylb rlb))
;;; XXX Does not work
Expand Down

0 comments on commit c39b7de

Please sign in to comment.