Math.Sec
From RAD Studio VCL Reference
Contents |
Delphi Information
From Math.pas
function Sec(const X: Extended): Extended;
Unit: Math
Type: function
Visibility: public
C++ Information
From Math.hpp
long double __fastcall Sec(long double X);
Unit: Math
Type: function
Description
Calculates the secant of an angle.
Call Sec to obtain the secant of X, where X is an angle in radians. The secant is calculated using the formula 1 / Cos(X).
Note: Sec is identical to the Secant function.