package issue336

import "github.com/mmcloughlin/avo/tests/fixedbugs/issue336"

Package issue336 tests boolean arguments and return values.

Issue #336 pointed out that move deduction for boolean types was not present.

Index

Functions

func Not16

func Not16(x bool) bool

Not16 returns the boolean negation of x using a 16-bit intermediate.

func Not32

func Not32(x bool) bool

Not32 returns the boolean negation of x using a 32-bit intermediate.

func Not64

func Not64(x bool) bool

Not64 returns the boolean negation of x using a 64-bit intermediate.

func Not8

func Not8(x bool) bool

Not8 returns the boolean negation of x using a 8-bit intermediate.

Source Files

doc.go stub.go

Version
v0.6.0 (latest)
Published
Jan 7, 2024
Platform
linux/amd64
Last checked
1 month ago

Tools for package owners.