[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VM] bug with labels in virtual folders
From: |
Julian Bradfield |
Subject: |
Re: [VM] bug with labels in virtual folders |
Date: |
Tue, 8 Jan 2013 21:28:35 +0000 (GMT) |
User-agent: |
slrn/0.9.9p1 (Linux) |
On 2013-01-08, Uday Reddy <address@hidden> wrote:
> Does XEmacs have a function to calculate the integer quotient?
?
If I believe the FSFmacs documentation
(truncate ARG DIVISOR)
should be equivalent to
(truncate (/ (float ARG) DIVISOR))
XEmacs thinks that if you want an integer quotient, you should use
(floor ARG DIVISOR)
which rounds towards -∞ rather than towards zero, so that it plays
nicely with mod.
I haven't looked to see what your use of it is!