In the section where you use the quadratic equation to make a form of the law of cosines that solves angle-side-side triangles, there is an error on the bounds checking. You say that if c>=b, there are no solutions. However: - If c=b, there is one solution. It is an isosceles triangle with b=c, B=C. The triangle itself is twice the size as the right triangle formed by c=b*sin(C) & B = 90. B and C are acute. - If c>b, there is also one solution. It is a scalene triangle with B and C being acute.