types

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	POSITIVE_INFINITY = Double(math.MaxFloat64)
	NEGATIVE_INFINITY = -POSITIVE_INFINITY
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Double

type Double float64

func DoubleFromBits

func DoubleFromBits(bits Long) Double

type Float

type Float float32

type Int

type Int int32

*

@author: nizhenxian
@date: 2021/8/11 19:18:00

*

func (Int) ShiftR

func (i Int) ShiftR(val Int) Int

func (Int) String

func (i Int) String() string

func (Int) ToLong

func (i Int) ToLong() Long

type Long

type Long int64

func (Long) Abs

func (l Long) Abs() Long

func (Long) ShiftR

func (l Long) ShiftR(val Int) Long

func (Long) Signum

func (l Long) Signum() Int

func (Long) String

func (l Long) String() string

func (Long) ToDouble

func (l Long) ToDouble() Double

func (Long) ToInt

func (l Long) ToInt() Int

Jump to

Keyboard shortcuts

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