Unsing Unity 2021.3.9f1
My code:
print("Atan 1/3: "+MathF.Atan(1/3));
My Result:
Same thing happens for 1/2.
Whats going on here and how do I get correct results?
BTW: No change in result if I use Mathf or MathF, neither can do it.
Restarting Unity, which has fixed similier miscalculation errors in the past did not do the trick this time.
Thanks