package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Oct 1, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
数字的泛型定义
每种泛型定义都包括了符合其类型特征的子类
机器复数类型
go define of complex
go 浮点数泛型定义
go define of floating-point number
go 有符号数泛型定义
go define of integer
type Integer interface {
Uint | Int
}
整数泛型 Z
Integer
type N interface {
Uint
}
type NaturalNumber interface {
Uint
}
自然数泛型 N
natural number
type Q interface {
Z | Float
}
有理数泛型/可商数泛型 Q
Rational Number
go 无符号数泛型定义
go define of unsigned integer
Source Files
¶
Click to show internal directories.
Click to hide internal directories.