builtin

package
v1.26.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool = primitive.Boolean

bool is the set of boolean values, true and false.

type Byte

type Byte = Uint8

byte is an alias for uint8 and is equivalent to uint8 in all ways. It is used, by convention, to distinguish byte values from 8-bit unsigned integer values.

type Float32

type Float32 primitive.Number

float32 is the set of all IEEE-754 32-bit floating-point numbers.

type Float64

type Float64 = primitive.Number

float64 is the set of all IEEE-754 64-bit floating-point numbers.

type Int

type Int primitive.Number

int is a signed integer type that is at least 32 bits in size. It is a distinct type, however, and not an alias for, say, int32.

The size of int is 32 bits for JS.

func Int_Cast__0

func Int_Cast__0(v primitive.Number) Int

Int_Cast: func int(v float64) int

func (Int) XGo_Add

func (a Int) XGo_Add(b Int) Int

XGo_Add implements func (a int) + (b int) int

func (Int) XGo_And

func (a Int) XGo_And(b Int) Int

XGo_And implements func (a int) & (b int) int

func (Int) XGo_AndNot

func (a Int) XGo_AndNot(b Int) Int

XGo_AndNot implements func (a int) &^ (b int) int

func (Int) XGo_Lsh

func (a Int) XGo_Lsh(b Uint) Int

XGo_Lsh implements func (a int) << (b uint) int

func (Int) XGo_Mul

func (a Int) XGo_Mul(b Int) Int

XGo_Mul implements func (a int) * (b int) int

func (Int) XGo_Neg

func (a Int) XGo_Neg() Int

XGo_Neg implements func -(a int) int

func (Int) XGo_Not

func (a Int) XGo_Not() Int

XGo_Not implements func ^(a int) int

func (Int) XGo_Or

func (a Int) XGo_Or(b Int) Int

XGo_Or implements func (a int) | (b int) int

func (Int) XGo_Quo

func (a Int) XGo_Quo(b Int) Int

XGo_Quo implements func (a int) / (b int) int

func (Int) XGo_Rem

func (a Int) XGo_Rem(b Int) Int

XGo_Rem implements func (a int) % (b int) int

func (Int) XGo_Rsh

func (a Int) XGo_Rsh(b Uint) Int

XGo_Rsh implements func (a int) >> (b uint) int

func (Int) XGo_Sub

func (a Int) XGo_Sub(b Int) Int

XGo_Sub implements func (a int) - (b int) int

func (Int) XGo_Xor

func (a Int) XGo_Xor(b Int) Int

XGo_Xor implements func (a int) ^ (b int) int

type Int8

type Int8 primitive.Number

int8 is the set of all signed 8-bit integers. Range: -128 through 127.

type Int16

type Int16 primitive.Number

int16 is the set of all signed 16-bit integers. Range: -32768 through 32767.

type Int64

type Int64 primitive.Number

int64 is the set of all signed 64-bit integers. Range: -9223372036854775808 through 9223372036854775807.

type String

type String = primitive.String

string is the set of all strings of 8-bit bytes, conventionally but not necessarily representing UTF-8-encoded text. A string may be empty, but not nil. Values of string type are immutable.

type Uint

type Uint primitive.Number

uint is an unsigned integer type that is at least 32 bits in size. It is a distinct type, however, and not an alias for, say, uint32.

func Uint_Cast__0

func Uint_Cast__0(v primitive.Number) Uint

Uint_Cast: func uint(v float64) uint

func (Uint) XGo_Add

func (a Uint) XGo_Add(b Uint) Uint

XGo_Add implements func (a uint) + (b uint) uint

func (Uint) XGo_And

func (a Uint) XGo_And(b Uint) Uint

XGo_And implements func (a uint) & (b uint) uint

func (Uint) XGo_AndNot

func (a Uint) XGo_AndNot(b Uint) Uint

XGo_AndNot implements func (a uint) &^ (b uint) uint

func (Uint) XGo_Lsh

func (a Uint) XGo_Lsh(b Uint) Uint

XGo_Lsh implements func (a uint) << (b uint) uint

func (Uint) XGo_Mul

func (a Uint) XGo_Mul(b Uint) Uint

XGo_Mul implements func (a uint) * (b uint) uint

func (Uint) XGo_Neg

func (a Uint) XGo_Neg() Uint

XGo_Neg implements func -(a uint) uint

func (Uint) XGo_Not

func (a Uint) XGo_Not() Uint

XGo_Not implements func ^(a uint) uint

func (Uint) XGo_Or

func (a Uint) XGo_Or(b Uint) Uint

XGo_Or implements func (a uint) | (b uint) uint

func (Uint) XGo_Quo

func (a Uint) XGo_Quo(b Uint) Uint

XGo_Quo implements func (a uint) / (b uint) uint

func (Uint) XGo_Rem

func (a Uint) XGo_Rem(b Uint) Uint

XGo_Rem implements func (a uint) % (b uint) uint

func (Uint) XGo_Rsh

func (a Uint) XGo_Rsh(b Uint) Uint

XGo_Rsh implements func (a uint) >> (b uint) uint

func (Uint) XGo_Sub

func (a Uint) XGo_Sub(b Uint) Uint

XGo_Sub implements func (a uint) - (b uint) uint

func (Uint) XGo_Xor

func (a Uint) XGo_Xor(b Uint) Uint

XGo_Xor implements func (a uint) ^ (b uint) uint

type Uint8

type Uint8 primitive.Number

uint8 is the set of all unsigned 8-bit integers. Range: 0 through 255.

type Uint16

type Uint16 primitive.Number

uint16 is the set of all unsigned 16-bit integers. Range: 0 through 65535.

type Uint64

type Uint64 primitive.Number

uint64 is the set of all unsigned 64-bit integers. Range: 0 through 18446744073709551615.

type Uintptr

type Uintptr primitive.Number

uintptr is an integer type that is large enough to hold the bit pattern of any pointer.

Jump to

Keyboard shortcuts

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