Strange multiplication result
问题 In my code I have this multiplications in a C++ code with all variable types as double[] f1[0] = (f1_rot[0] * xu[0]) + (f1_rot[1] * yu[0]); f1[1] = (f1_rot[0] * xu[1]) + (f1_rot[1] * yu[1]); f1[2] = (f1_rot[0] * xu[2]) + (f1_rot[1] * yu[2]); f2[0] = (f2_rot[0] * xu[0]) + (f2_rot[1] * yu[0]); f2[1] = (f2_rot[0] * xu[1]) + (f2_rot[1] * yu[1]); f2[2] = (f2_rot[0] * xu[2]) + (f2_rot[1] * yu[2]); corresponding to these values Force Rot1 : -5.39155e-07, -3.66312e-07 Force Rot2 : 4.04383e-07, -1