casting - Integer division in Common Lisp? -


when (/ 7 2), should result 3? if (/ 7 2.0), 3.5, expected.

(floor 7 2) 

ref: http://rosettacode.org/wiki/basic_integer_arithmetic#common_lisp


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -