Hey,
I'm writing a programm to create some random triangles and after creating the lengths a,b and c (a+b > c && a < c && b < c) i want to get the angles with the sss cosinus formula. I need the acos function, but for example:
acos(-0.2) throws out 1.77215 , but on my calculator its 102 (101.5).