Post
Topic
Board Development & Technical Discussion
Re: Point addition / Point concatenate
by
mrxtraf
on 26/04/2021, 09:10:53 UTC
Here you write 1 + 1 = 11
And in what system should this be applied? Decimal, hex, or maybe binary?
For example, two numbers in hex b(11) and d(13)
In hex
b + d = bd
But in dec
11 + 13 = 1113
But
hex bd = dec 189
So which system should you use as a basis for concatenation?
If decimal
X + Y = XY
in mathematic

X*strpad(1, len(Y), '0', right) + Y

But in Hex it is completely different!

But if we transfer this to the points of coordinates, then nothing will work, because the length of Y is not known.