NumeralSystem
01 Syntax
Microsoft.VisualBasic.Math.NumeralSystem
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Ulp | 1 | Unit in the Last Place, ulp |
| TranslateDecimal | 1 | A helper function for translate decimal number to the number of another kind of custom number system |
| FindNthRoot | 1 | Method which finds root of specific degree of number. |
03 Members
Ulp(
Double)Unit in the Last Place, ulp
Remarks
Math.ulp 是一个用于获取一个数的最小精度单位(Unit in the Last Place,ulp)的方法。 这个方法在浮点数运算中非常有用,特别是在需要考虑数值精度和误差分析的场景。
Parameters
| Name | Type | Description |
|---|---|---|
value | Double | - |
TranslateDecimal(
Int32, Char())A helper function for translate decimal number to the number of another kind of custom number system
Remarks
将十进制数转换到另外的一个数进制
Parameters
| Name | Type | Description |
|---|---|---|
d | Int32 | - |
alphabets | Char() | - |
FindNthRoot(
Double, Int32, Double)Method which finds root of specific degree of number.
Remarks
开n次方
Parameters
| Name | Type | Description |
|---|---|---|
number | Double | Source number. |
degree | Int32 | Degree of root. |
precision | Double | Precision with which the calculations are performed. value should be in range (0,1). |
Returns
Root of number.