safemath

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CompareLessFlag  = -1
	CompareEqualFlag = 0
	CompareLargeFlag = 1
)

Variables

This section is empty.

Functions

func Compare

func Compare(v1, v2 compareInputType) (result compareResultType)

func Uint8Compare

func Uint8Compare(i1, i2 uint8) compareResultType

func UintCompare

func UintCompare(i1, i2 uint) compareResultType

Types

This section is empty.

Jump to

Keyboard shortcuts

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