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:

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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.

Feedback, Comments & Corrections

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) )

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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).

Feedback, Comments & Corrections

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.

Feedback, Comments & Corrections

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).

Feedback, Comments & Corrections

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) )

Feedback, Comments & Corrections

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)

Feedback, Comments & Corrections

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:

Feedback, Comments & Corrections

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:

Feedback, Comments & Corrections

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:

Feedback, Comments & Corrections

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:

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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.

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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.

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

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

Feedback, Comments & Corrections

Next items

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

The biggest plugin in space...




Links
MBS Xojo PDF Plugins

Start Chat