Difference between revisions of "TMath"

From Soldat Community Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
==Inheritance==
 
==Inheritance==
*[[TMathApi]]
+
*[[TMath]]
  
 
==Description==
 
==Description==

Latest revision as of 23:10, 6 May 2020

Inheritance

Description

A class holding all functions related to Math.

This class is assigned to global variable "Math"


user constructable: NO
user destructable:  NO

Members

Member declaration
function Sin(A: Extended): Extended
function Cos(A: Extended): Extended
function Tan(A: Extended): Extended
function Cotan(A: Extended): Extended
function Pow(A, B: Extended): Extended
function LogN(A, B: Extended): Extended
function Ln(A: Extended): Extended
function ArcSin(A: Extended): Extended
function ArcCos(A: Extended): Extended
function ArcTan(A: Extended): Extended
function ArcCotan(A: Extended): Extended
function ArcTan(A,B: Extended): Extended
function Min(A, B: Extended): Extended
function Max(A, B: Extended): Extended
function Abs(A: Extended): Extended
function Exp(A: Extended): Extended
function Sign(A: Extended): Extended
function IsNan(A: Extended): Boolean
function Round(A: Extended): Integer
function RoundTo(A: Extended, B: TRoundToRange): Extended
function DegToRad(A: Extended): Extended
function RadToDeg(A: Extended): Extended
function DegNormalize(A: Extended): Extended
function InRange(const A, B, C: Double): Boolean
function EnsureRange(const AValue, AMin, AMax: Double): Double
function Random(Min, Max: Extended): Extended
property TMath.E: Extended
property TMath.Pi: Extended