Platforms to show: All Mac Windows Linux Cross-Platform

Next items

BigNumberMBS.Abs(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Absolute value of x.
Example:
Dim c As New BigNumberMBS(-3)
Dim d As BigNumberMBS = BigNumberMBS.Abs(c)
Dim e As BigNumberMBS = c.Abs

MsgBox d.StringValue+EndOfLine+e.StringValue // shows 3

See also:

BigNumberMBS.ACos(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Arc Cosine.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.ACos(c)

Dim x As Double = ACos(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: we're using the formula: acos(x) = pi/2 - asin(x)
BigNumberMBS.ACosh(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Inverse hyperbolic cosine.
Example:
Dim c As New BigNumberMBS(2.0)
Dim d As BigNumberMBS = BigNumberMBS.ACosh(c)

// ACosHMBS is in MBS Xojo Util Plugin
Dim x As Double = ACosHMBS(2.0)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: acosh(x) = ln( x + sqrt(x^2 - 1) ) x in <1, infinity)
BigNumberMBS.ACot(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Arc Cotangent.
Notes: we're using the formula: actan(x) = pi/2 - atan(x)
BigNumberMBS.ACoth(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates inverse hyperbolic cotangent.
Notes: acoth(x) = 0.5 * ln( (x+1) / (x-1) ) x in (-infinity, -1) or (1, infinity)
BigNumberMBS.ASin(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Arc Sine.
Example:
Dim c As New BigNumberMBS(1.0)
Dim d As BigNumberMBS = BigNumberMBS.ASin(c)

Dim x As Double = ASin(1.0)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: Range is from -1 to 1.
BigNumberMBS.ASinh(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Inverse hyperbolic sine.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.ASinH(c)

// ASinHMBS is in MBS Xojo Util Plugin
Dim x As Double = ASinHMBS(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: asinh(x) = ln( x + sqrt(x^2 + 1) )
BigNumberMBS.ATan(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Arc Tangent.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.ATan(c)

Dim x As Double = ATan(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
BigNumberMBS.ATanh(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates inverse hyperbolic tangent.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.ATanh(c)

// ATanhMBS is in MBS Xojo Util Plugin
Dim x As Double = ATanhMBS(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: atanh(x) = 0.5 * ln( (1+x) / (1-x) ) x in (-1, 1)
BigNumberMBS.Cos(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the cosine value.
Example:
Dim c As New BigNumberMBS(1.0)
Dim d As BigNumberMBS = BigNumberMBS.Cos(c)

Dim x As Double = Cos(1.0)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: We're using the formula cos(x) = sin(x + PI/2).
BigNumberMBS.Cosh(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Hyperbolic Cosine.
Example:
Dim c As New BigNumberMBS(0.5)
Dim d As BigNumberMBS = BigNumberMBS.CosH(c)

// CosHMBS is in MBS Xojo Util Plugin
Dim x As Double = CosHMBS(0.5)

MsgBox d.StringValue+EndOfLine+Str(x)
Notes: We're using the formula cosh(x)= ( e^x + e^(-x) ) / 2.
BigNumberMBS.Cot(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Cotangent.
Notes: We're using the formula tan(x) = cos(x) / sin(x).
BigNumberMBS.Coth(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates the Hyperbolic Cotangent.
Notes: We're using the formula coth(x)= ( e^x + e^(-x) ) / ( e^x - e^(-x) )
BigNumberMBS.DegToDeg(d as BigNumberMBS, m as BigNumberMBS, s as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts degrees in the long format into one value.
Notes:
long format: (degrees, minutes, seconds)
minutes and seconds must be greater than or equal zero

result:
if d>=0 : result= d + ((s/60)+m)/60
if d<0 : result= d - ((s/60)+m)/60

((s/60)+m)/60 = (s+60*m)/3600 (second version is faster because there's only one division)

for example:
DegToDeg(10, 30, 0) = 10.5
DegToDeg(10, 24, 35.6)=10.4098(8)
BigNumberMBS.DegToGrad(d as BigNumberMBS, m as BigNumberMBS, s as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts degrees in the long format to gradians.

See also:

BigNumberMBS.DegToGrad(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts degrees to gradians.
Notes: it returns: x * 200 / 180

See also:

BigNumberMBS.DegToRad(d as BigNumberMBS, m as BigNumberMBS, s as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts degrees in the long format to radians.

See also:

BigNumberMBS.DegToRad(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts degrees to radians.
Notes: It returns: x * pi / 180

See also:

BigNumberMBS.E as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value zero.
Example:
dim b as BigNumberMBS = BigNumberMBS.e
MsgBox b.StringValue
BigNumberMBS.Exp(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates e^value.
Example:
dim x as new BigNumberMBS(2)
dim p as BigNumberMBS = BigNumberMBS.Exp(x)

MsgBox p.StringValue // shows e^2 = 7.38
BigNumberMBS.GradToDeg(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts degrees to gradians.
Notes: it returns: x * 180 / 200
BigNumberMBS.GradToRad(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Converts gradians to radians.
Notes: It returns: x * pi / 200.
BigNumberMBS.HalfPi as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value pi/2.
Example:
dim b as BigNumberMBS = BigNumberMBS.HalfPi
MsgBox b.StringValue
BigNumberMBS.LibTypeStr as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 21.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Queries what implementation is used for this platform.
Notes:
Shows asm in the text if assembler code is used.
Assembler code is not available for all platforms.
BigNumberMBS.Ln(value as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates natural logarithm.
Example:
dim x as new BigNumberMBS(2)
dim p as BigNumberMBS = BigNumberMBS.Ln(x)

MsgBox p.StringValue // shows ln(2) = 0.69
BigNumberMBS.Ln10 as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value ln(10).
Example:
dim b as BigNumberMBS = BigNumberMBS.Ln10
MsgBox b.StringValue
BigNumberMBS.Ln2 as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with value ln(2).
Example:
dim b as BigNumberMBS = BigNumberMBS.Ln2
MsgBox b.StringValue
BigNumberMBS.Log(value as BigNumberMBS, base as BigNumberMBS) as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Calculates logarithm in a given base.
Example:
dim x as new BigNumberMBS(100)
dim d as new BigNumberMBS(10)
dim p as BigNumberMBS = BigNumberMBS.Log(x, d)

MsgBox p.StringValue // shows ln(100)/ln(10) = 2
BigNumberMBS.Max as BigNumberMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Math MBS DataTypes Plugin 16.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Function: Returns a number with maximum value.
Example:
dim b as BigNumberMBS = BigNumberMBS.Min
MsgBox b.StringValue

Next items

The items on this page are in the following plugins: MBS DataTypes Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat