I am wondering if I can move one Integer value right of the decimal point and another Integer value left of the decimal point of same Real number.
These two Integers are adjacent in the array. One is Int[1] and it represent integer value and the other one is Int[2] and represents decimal value.
So how can I make a new Real tag type that has:
X,Y
WHere X is read from Int[1] and Y from[2]
I know it would work if I do CPT instruction and then divide Y by 10 + X, but I am not sure if in the process this number ever goes above 10. I know it shouldnt but our production is stalled and can not verify it.
Besides, I am intrigued by this problem and it's solution.
Thanks in advance.
These two Integers are adjacent in the array. One is Int[1] and it represent integer value and the other one is Int[2] and represents decimal value.
So how can I make a new Real tag type that has:
X,Y
WHere X is read from Int[1] and Y from[2]
I know it would work if I do CPT instruction and then divide Y by 10 + X, but I am not sure if in the process this number ever goes above 10. I know it shouldnt but our production is stalled and can not verify it.
Besides, I am intrigued by this problem and it's solution.
Thanks in advance.