Help us shape the future of Go! Take the 2026 Go Developer Survey

shared

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckOperation

func CheckOperation[T Floating | Integer](t *testing.T, test, control Operation[T], left, right, result []T) bool

func CheckSlice

func CheckSlice[T Floating | Integer](t *testing.T, test, control []T) bool

func Large

func Large[T Floating | Integer](length int) []T

func Small

func Small[T Floating | Integer](length int) []T

Types

type Floating

type Floating interface{ float32 | float64 }

type Integer

type Integer interface{ int32 | int64 }

type Operation

type Operation[T Floating | Integer] func(left, right, result []T) int

Jump to

Keyboard shortcuts

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