By the way, you have a misconception about the accuracy of a value that you can store in a float. 3.504943957968f is NOT a reasonable initial value.
By the way, you have a misconception about the accuracy of a value that you can store in a float. 3.504943957968f is NOT a reasonable initial value.