Does a raycast's length affect its accuracy?

Say you cast a ray from a high velocity projectile so it doesn’t pass through rigidbodies, will its accuracy at detecting the rigidbody be effected by its length? As in, will a ray 10 units long be more accurate than a ray .02 units long?

no, accuracy isn’t based on length