help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: program to compute gears, with table


From: Skip Montanaro
Subject: Re: program to compute gears, with table
Date: Fri, 8 Sep 2017 07:12:11 -0500

> because...
>
>   (/ 2 3)     => 0
>   (/ 2 3 1.0) => 0.6666666666666666
>
> (division defaults to integer division when all args are int)

Ah, right. Been awhile since I did anything with ELisp (or any other
Lisp). I've gotten used to Python's // operator when I need integer
division.

S



reply via email to

[Prev in Thread] Current Thread [Next in Thread]