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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -