inverse cos

May be this question will seem stupid for
many coders but :
how do i compute inverse cos ??
Is it 1 / cos ??

No, it’s not 1 / cos …

Use the acos function in <math.h>

[This message has been edited by Humus (edited 08-17-2000).]

thanks 4 da help :slight_smile:

1/cos is secant if I remember correctly…