This because the used integer+float division could result in a 9.999999e-01 value, which is for acos() to return 3.452670e-04. Converted the division to use doubles instead.
This because the used integer+float division could result in a 9.999999e-01 value, which is for acos() to return 3.452670e-04. Converted the division to use doubles instead.