[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: numeri
From: |
Stefan Monnier |
Subject: |
Re: numeri |
Date: |
Sat, 29 Nov 2008 17:50:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> (get-char-code-property ?4 'numeric-value)
> Actually, why not make the above return the number 4? The Unicode
Agreed. It says `numeric-value' so it should return a number.
I understand that 1/5 cannot be represented exactly as a number in Elisp
right now, but the floating point approximation should be sufficient: we
can recover the /15 fraction from it, if really needed, by considering
additional assumptions such as "this is the numeric value of a unicode
char".
Stefan
- numeri, Eli Zaretskii, 2008/11/29
- Re: numeri, Andreas Schwab, 2008/11/29
- Re: numeri, Eli Zaretskii, 2008/11/29
- Re: numeri, Andreas Schwab, 2008/11/29
- Re: numeri, Eli Zaretskii, 2008/11/29
- Re: numeri, Eli Zaretskii, 2008/11/29
- Re: numeri, David De La Harpe Golden, 2008/11/29
- Re: numeri, Eli Zaretskii, 2008/11/29
- Re: numeri,
Stefan Monnier <=