System.Math.Sec
Delphi
function Sec(const X: Single): Single;
function Sec(const X: Double): Double;
function Sec(const X: Extended): Extended;
C++
extern DELPHI_PACKAGE float __fastcall Sec(const float X)/* overload */;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Calcule la sécante d'un angle.
Utilisez Sec pour obtenir la sécante de X, où X est un angle exprimé en radians. La sécante est calculée en utilisant la formule 1 / Cos(X).