Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>
Clone
HTTPS:
git clone https://vervis.peers.community/repos/yEzqv
SSH:
git clone USERNAME@vervis.peers.community:yEzqv
Branches
Tags
3.mdwn
[[!template id=ticket class=task]]
[[!meta title=“Study the decimal/hex digit value properties of Unicode”]]
Issue
When parsing numbers, you can get the numeric value of an ASCII digit by subtracting the value of '0'
from it. Similarly for hex digits. For example:
3 = '3' - '0'
c = 'c' - 'a'
C = 'C' - 'A'
But when dealing with other digits and number systems, it may not be so simple. Idan is going to support any Unicode digits, at least the ones with position based values. Unicode provides value properties for them, which allow getting the value without subtraction or other math tricks.
Also, Idan will preferrably support other number systems, and numbers which aren’t position-based decimals. For those, we need to study which properties Unicode defines and which it doesn’t.
Process
None yet.
Result
None yet.