zbcmn

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2022 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Mask32bit = [32]uint32{
	(1 << 0),
	(1 << 1),
	(1 << 2),
	(1 << 3),
	(1 << 4),
	(1 << 5),
	(1 << 6),
	(1 << 7),
	(1 << 8),
	(1 << 9),
	(1 << 10),
	(1 << 11),
	(1 << 12),
	(1 << 13),
	(1 << 14),
	(1 << 15),
	(1 << 16),
	(1 << 17),
	(1 << 18),
	(1 << 19),
	(1 << 20),
	(1 << 21),
	(1 << 22),
	(1 << 23),
	(1 << 24),
	(1 << 25),
	(1 << 26),
	(1 << 27),
	(1 << 28),
	(1 << 29),
	(1 << 30),
	(1 << 31),
}
View Source
var Mask32byte = [4]uint32{
	((1 << 8) - 1) << 0,
	((1 << 8) - 1) << 8,
	((1 << 8) - 1) << 16,
	((1 << 8) - 1) << 24,
}

Functions

This section is empty.

Types

type Comparable

type Comparable interface{ comparable } //可做相等性比较的所有类型集合

type Complex

type Complex interface{ ~complex64 | ~complex128 } //复杂组合数、虚数 imaginary number

type Float

type Float interface{ ~float32 | ~float64 } //小数

type Integer

type Integer interface{ Signed | Unsigned } //整数

type Number

type Number interface{ Real | Complex } //复数

type Ordered

type Ordered interface{ Real | ~string } //可排序基本类型

type Real

type Real interface{ Integer | Float } //实数	real number

type Signed

type Signed interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

type Unsigned

type Unsigned interface {
	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL