mirror of
https://github.com/open-goal/jak-project
synced 2026-08-09 02:49:19 -04:00
b263e33e94
* fix mod bug and add div tests * update changelog
7 lines
296 B
Common Lisp
7 lines
296 B
Common Lisp
|
|
(_format #t "~X ~X ~X ~X~%"
|
|
(/ -10 2) ;; should be -5
|
|
(/ (the uint -10) 2) ;; should use 64-bit shift logical: #x7ffffffffffffffb
|
|
(/ -10 3) ;; should be -3
|
|
(/ (the uint -10) 3) ;; should use integer unsigned divide: #x55555552
|
|
) |