System.Math.Cot

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Cot(const X: Single): Single;
function Cot(const X: Double): Double;
function Cot(const X: Extended): Extended;

C++

extern DELPHI_PACKAGE float __fastcall Cot(const float X)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Calculates the cotangent of an angle.

Call Cot to obtain the cotangent of X. The cotangent is calculated using the formula 1 / Tan(X).

See Also