[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistency: sometimes an integer, sometimes a float
From: |
djc |
Subject: |
Re: Inconsistency: sometimes an integer, sometimes a float |
Date: |
Fri, 24 Jan 2014 14:25:58 -0800 (PST) |
User-agent: |
G2/1.0 |
> Instead, write:
> (defun float/ (dividend divisor &rest divisors)
> (apply (function /) (float dividend) divisor divisors))
That's indeed consistent, but wouldn't work for my purposes, since what I
really want is the millions group as an integer. (And later perhaps also the
billions... groups.) Problem simplified, solved and generalized in the actual
code in question at a slight decrease in speed that has no consequences in the
context of its use.
djc
- Inconsistency: sometimes an integer, sometimes a float, djc, 2014/01/23
- Re: Inconsistency: sometimes an integer, sometimes a float, Rasmus, 2014/01/23
- Re: Inconsistency: sometimes an integer, sometimes a float, Nicolas Richard, 2014/01/23
- Re: Inconsistency: sometimes an integer, sometimes a float, Nicolas Richard, 2014/01/23
- Re: Inconsistency: sometimes an integer, sometimes a float, Eli Zaretskii, 2014/01/23
- Re: Inconsistency: sometimes an integer, sometimes a float, Pascal J. Bourguignon, 2014/01/23
- RE: Inconsistency: sometimes an integer, sometimes a float, Doug Lewan, 2014/01/24
- Message not available
- Message not available
- Re: Inconsistency: sometimes an integer, sometimes a float,
djc <=