M
mm
Hi,
Given a couple of arrays with values:
[3] [2] [1] [0]
A 2 9 9 9
B 3 0 0 0
what is the best way to compare these values assuming that array position
[0] represents the least significant value.
ie: A<B is true in this example.
Currently I'm iterating through the arrays checking each position and
setting flags as appropriate. Is there a better way to achieve this goal.
Thanks, Matt.
Given a couple of arrays with values:
[3] [2] [1] [0]
A 2 9 9 9
B 3 0 0 0
what is the best way to compare these values assuming that array position
[0] represents the least significant value.
ie: A<B is true in this example.
Currently I'm iterating through the arrays checking each position and
setting flags as appropriate. Is there a better way to achieve this goal.
Thanks, Matt.