Ok, the opposite and adjacent sides of a right triangle i have drawn are 1. I want to use tan to find one of the angles. It never works. I have tried tana() and tanh() and they dont work either. I know the answer should be 45 degrees, what is wrong?

Tana() sounds like it is what I want. I call tanaf(1.0f) but it always returns 0.76 when it should be 45!

What is wrong?