Table of Contents

Class MathIBinaryInteger

Namespace
Zyl.VectorTraits.Numerics
Assembly
VectorTraits.dll

Math functions of IBinaryInteger<TSelf> (IBinaryInteger 的数学函数).

public static class MathIBinaryInteger
Inheritance
MathIBinaryInteger
Inherited Members

Remarks

Referenced from generic math (参考了泛型数学): https://learn.microsoft.com/en-us/dotnet/standard/generics/math

Methods

DivRem(byte, byte)

Produces the quotient and the remainder of two unsigned 8-bit numbers (生成两个 无符号8位数字 的商和余数).

DivRem(short, short)

Produces the quotient and the remainder of two signed 16-bit numbers (生成两个 有符号16位数字 的商和余数).

DivRem(int, int)

Produces the quotient and the remainder of two signed 32-bit numbers (生成两个 有符号32位数字 的商和余数).

DivRem(int, int, out int)

Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter (计算两个 32 位有符号整数的商,并通过输出参数返回余数).

DivRem(long, long)

Produces the quotient and the remainder of two signed 64-bit numbers (生成两个 有符号64位数字 的商和余数).

DivRem(long, long, out long)

Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter (计算两个 32 位有符号整数的商,并通过输出参数返回余数).

DivRem(nint, nint)

Produces the quotient and the remainder of two signed native-size numbers (生成两个 有符号本机大小数字 的商和余数).

DivRem(sbyte, sbyte)

Produces the quotient and the remainder of two signed 8-bit numbers (生成两个 有符号8位数字 的商和余数).

DivRem(ushort, ushort)

Produces the quotient and the remainder of two unsigned 16-bit numbers (生成两个 无符号16位数字 的商和余数).

DivRem(uint, uint)

Produces the quotient and the remainder of two unsigned 32-bit numbers (生成两个 无符号32位数字 的商和余数).

DivRem(ulong, ulong)

Produces the quotient and the remainder of two unsigned 64-bit numbers (生成两个 无符号64位数字 的商和余数).

DivRem(nuint, nuint)

Produces the quotient and the remainder of two unsigned native-size numbers (生成两个 无符号本机大小数字 的商和余数).

See Also