[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sat, 29 Nov 2008 23:26:12 +0200
> Date: Sat, 29 Nov 2008 19:01:22 +0000
> From: David De La Harpe Golden <address@hidden>
> Cc: address@hidden, address@hidden
> > Actually, why not make the above return the number 4? The Unicode
> > Data File Format says that this property's value is ``an integer or
> > rational number''. We could even use 0.2 for characters such as
> > "VULGAR FRACTION ONE FIFTH". Isn't that better than `1/5'?
> Bear in mind that 1/5 (0.2) isn't actually exactly representable by
> binary floating point, bit like the way 1/3 (0.333(3 recurring)) can't
> be written properly in decimal
The important issue, IMO, is whether the value of that property should
be a number whenever possible. The rest are details that can be
figured out once we make that decision.
- numeri, Eli Zaretskii, 2008/11/29