LargeNumberMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
LargeNumberMBS class
An 4128 bit integer number.
Can be useful to calculate with more than Int64.
This class works with up to 1224 digits.
See BigNumberMBS for a 320 bit floating point number.
- 18 properties
- 57 methods
- method Add(other as LargeNumberMBS)
- method Add(other as LargeNumberMBS) as LargeNumberMBS
- method AddMod(v as LargeNumberMBS, Modulo as LargeNumberMBS) as LargeNumberMBS
- method CheckBit(bit as integer) as Boolean
- method Clone as LargeNumberMBS
- method Constructor
- method Constructor(other as LargeNumberMBS)
- method Constructor(value as Int32)
- method Constructor(value as Int64)
- method Constructor(value as String)
- method Constructor(value as UInt32)
- method Constructor(value as UInt64)
- method Decrement(value as UInt32 = 1)
- method Divide(other as LargeNumberMBS)
- method Divide(other as LargeNumberMBS) as LargeNumberMBS
- method Divide(value as UInt32) as LargeNumberMBS
- method DivMod(other as LargeNumberMBS, byref DivResult as LargeNumberMBS, byref ModResult as LargeNumberMBS)
- method Equals(other as LargeNumberMBS) as Boolean
- method ExpMod(e as LargeNumberMBS, Modulo as LargeNumberMBS) as LargeNumberMBS
- method FindGCD(v as LargeNumberMBS) as LargeNumberMBS
- method GetStringValue(Base as Integer = 10, ThousandsDelimiter as String = "") as String New in 24.0
- method Increment(value as UInt32 = 1)
- method IsPrime(iter as Integer) as Integer
- method LeftShift(bits as integer) as LargeNumberMBS
- method ModInverse(Modulo as LargeNumberMBS) as LargeNumberMBS
- method Modulo(other as LargeNumberMBS)
- method Modulo(other as LargeNumberMBS) as LargeNumberMBS
- method Modulo(value as UInt32) as UInt32
- method MulMod(v as LargeNumberMBS, Modulo as LargeNumberMBS) as LargeNumberMBS
- method Multiply(other as LargeNumberMBS)
- method Multiply(value as UInt32) as LargeNumberMBS
- method Negate as LargeNumberMBS
- method Operator_Add(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_AddRight(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_And(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_Compare(other as LargeNumberMBS) as Integer
- method Operator_Convert as String
- method Operator_Convert(value as String)
- method Operator_Divide(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_DivideRight(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_Modulo(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_ModuloRight(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_Multiply(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_MultiplyRight(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_Negate as LargeNumberMBS
- method Operator_Or(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_Subtract(other as LargeNumberMBS) as LargeNumberMBS
- method Operator_SubtractRight(other as LargeNumberMBS) as LargeNumberMBS
- method RightShift(bits as integer) as LargeNumberMBS
- method SetStringValue(Text As String, Base as Integer, byref AfterText as String, Byref ValueRead as boolean) New in 24.0
- method SetZero
- method SqrMod(Modulo as LargeNumberMBS) as LargeNumberMBS
- method sqrt as LargeNumberMBS
- method Square as LargeNumberMBS
- method SubMod(v as LargeNumberMBS, Modulo as LargeNumberMBS) as LargeNumberMBS
- method Subtract(other as LargeNumberMBS)
- method Subtract(other as LargeNumberMBS) as LargeNumberMBS
- 17 shared methods
This class has no sub classes.
Some examples using this class:
Blog Entries
Xojo Developer Magazine
- 22.2, page 9: News
- 21.3, page 69: Large, Big, and Bigger Numbers, Working with giant numbers by Stefanie Juchmes
- 21.3, page 67: Large, Big, and Bigger Numbers, Working with giant numbers by Stefanie Juchmes
- 21.1, page 27: News from MBS Xojo Plugins, What's up with MonkeyBread Software by Stefanie Juchmes
- 19.3, page 44: Xojo Time and Space—Into a Programming Black Hole, How converting durations and distances into human-readable form reveals a 32-bit problem at the heart of Xojo's 64-bit math module by Markus Winter
- 17.6, pages 63 to 64: Big Numbers and Large Numbers, How you can use the BigNumberMBS and LargeNumberMBS class in Xojo by Stefanie Juchmes
- 17.6, page 61: Big Numbers and Large Numbers, How you can use the BigNumberMBS and LargeNumberMBS class in Xojo by Stefanie Juchmes
- 17.5, page 33: What's New in the MBS Plugins, With the Plugins growing every year, here are new capabilities you may have missed by Stefanie Juchmes
- 17.3, page 10: News
Videos
Release notes
- Version 24.0
- Added new GetStringValue and SetStringValue methods to LargeNumberMBS class with more options.
- Fixed problem in LargeNumberMBS class when parsing too long string. We now raise an exception.
- Fixed string parser in LargeNumberMBS to not break on a minus sign sometimes.
- Version 19.2
- Version 19.1
The items on this page are in the following plugins: MBS DataTypes Plugin.
LargeNumberErrorExceptionMBS
-
LaunchServicesApplicationListMBS