emath

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 0 Imported by: 1

README

emath

  • emath.MinInt(nums ...int) int
  • emath.MaxInt(nums ...int) int
  • emath.MinByte(nums ...byte) byte
  • emath.MaxByte(nums ...byte) byte
  • emath.MinInt8(nums ...int8) int8
  • emath.MaxInt8(nums ...int8) int8
  • emath.MinUint8(nums ...uint8) uint8
  • emath.MaxUint8(nums ...uint8) uint8
  • emath.MinInt16(nums ...int16) int16
  • emath.MaxInt16(nums ...int16) int16
  • emath.MinUint16(nums ...uint16) uint6
  • emath.MaxUint16(nums ...uint16) uint16
  • emath.MinInt32(nums ...int32) int32
  • emath.MaxInt32(nums ...int32) int32
  • emath.MinUint32(nums ...uint32) uint32
  • emath.MaxUint32(nums ...uint32) uint32
  • emath.MinInt64(nums ...int64) int64
  • emath.MaxInt64(nums ...int64) int64
  • emath.MinUint64(nums ...uint64) uint64
  • emath.MaxUint64(nums ...uint64) uint64

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DivCeil added in v0.1.7

func DivCeil(dividend, divisor int) (result int)

func DivRound added in v0.1.7

func DivRound(dividend, divisor int) (result int)

func MaxByte

func MaxByte(nums ...byte) byte

MaxByte find and return the maximum item from the specified byte

func MaxFloat32

func MaxFloat32(nums ...float32) float32

MaxFloat32 find and return the maximum item from the specified float32

func MaxFloat64

func MaxFloat64(nums ...float64) float64

MaxFloat64 find and return the maximum item from the specified float64

func MaxInt

func MaxInt(nums ...int) int

MaxInt find and return the maximum item from the specified int

func MaxInt16

func MaxInt16(nums ...int16) int16

MaxInt16 find and return the maximum item from the specified int16

func MaxInt32

func MaxInt32(nums ...int32) int32

MaxInt32 find and return the maximum item from the specified int32

func MaxInt64

func MaxInt64(nums ...int64) int64

MaxInt64 find and return the maximum item from the specified int64

func MaxInt8

func MaxInt8(nums ...int8) int8

MaxInt8 find and return the maximum item from the specified int8

func MaxUint16

func MaxUint16(nums ...uint16) uint16

MaxUint16 find and return the maximum item from the specified uint16

func MaxUint32

func MaxUint32(nums ...uint32) uint32

MaxUint32 find and return the maximum item from the specified uint32

func MaxUint64

func MaxUint64(nums ...uint64) uint64

MaxUint64 find and return the maximum item from the specified uint64

func MaxUint8

func MaxUint8(nums ...uint8) uint8

MaxUint8 find and return the maximum item from the specified uint8

func MinByte

func MinByte(nums ...byte) byte

MinByte find and return the minimum item from the specified byte

func MinFloat32

func MinFloat32(nums ...float32) float32

MinFloat32 find and return the minimum item from the specified float32

func MinFloat64

func MinFloat64(nums ...float64) float64

MinFloat64 find and return the minimum item from the specified float64

func MinInt

func MinInt(nums ...int) int

MinInt find and return the minimum item from the specified int

func MinInt16

func MinInt16(nums ...int16) int16

MinInt16 find and return the minimum item from the specified int16

func MinInt32

func MinInt32(nums ...int32) int32

MinInt32 find and return the minimum item from the specified int32

func MinInt64

func MinInt64(nums ...int64) int64

MinInt64 find and return the minimum item from the specified uint32

func MinInt8

func MinInt8(nums ...int8) int8

MinInt8 find and return the minimum item from the specified int8

func MinUint16

func MinUint16(nums ...uint16) uint16

MinUint16 find and return the minimum item from the specified uint16

func MinUint32

func MinUint32(nums ...uint32) uint32

MinUint32 find and return the minimum item from the specified int32

func MinUint64

func MinUint64(nums ...uint64) uint64

MinUint64 find and return the minimum item from the specified uint64

func MinUint8

func MinUint8(nums ...uint8) uint8

MinUint8 find and return the minimum item from the specified uint8

Types

This section is empty.

Jump to

Keyboard shortcuts

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