nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / NumeralSystem

NumeralSystem

Full name Microsoft.VisualBasic.Math.NumeralSystem Assembly Microsoft.VisualBasic.Runtime Members 3

01 Syntax

Microsoft.VisualBasic.Math.NumeralSystem

02 Methods

NameOverloadsSummary
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

method Ulp #
Ulp(Double)

Unit in the Last Place, ulp

Remarks

Math.ulp 是一个用于获取一个数的最小精度单位(Unit in the Last Place,ulp)的方法。 这个方法在浮点数运算中非常有用,特别是在需要考虑数值精度和误差分析的场景。

Parameters
NameTypeDescription
valueDouble

-

method TranslateDecimal #
TranslateDecimal(Int32, Char())

A helper function for translate decimal number to the number of another kind of custom number system

Remarks

将十进制数转换到另外的一个数进制

Parameters
NameTypeDescription
dInt32

-

alphabetsChar()

-

method FindNthRoot #
FindNthRoot(Double, Int32, Double)

Method which finds root of specific degree of number.

Remarks

开n次方

Parameters
NameTypeDescription
numberDouble

Source number.

degreeInt32

Degree of root.

precisionDouble

Precision with which the calculations are performed. value should be in range (0,1).

Returns

Root of number.