kevin
kevin

Reputation: 173

% operator to compute the remainder in CLISP

I am running a CLISP in mac os X terminal. A simple eval like (% 3 5) outputs EVAL: UNDEFINED FUNCTION %

It evaluates correctly in the ielm mode in emacs. Thanks in advance for the help

Upvotes: 2

Views: 585

Answers (1)

Sergii Dymchenko
Sergii Dymchenko

Reputation: 7229

The name of the function is rem: (rem 5 3)

Upvotes: 4

Related Questions