common

package
v0.0.0-...-40e32b8 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RPNInput     = "6 8 4.0 sqrt + 3.01 1.99 + - *" //= 30.000000
	Input        = "3 4 2 * 1 5 - 2 3 ^ ^ / +"      //= 3.0001220703125
	InvalidInput = "3 4 2 * ? 1 5 - 2 3 ^ ^ / +"    // No value

	RPNInputWant = 30.000000
	InputWant    = 3.0001220703125
)

Two examples and their expected results

View Source
const OperatorsList = "+ - * / ^ sqrt"

Variables

This section is empty.

Functions

func TestMain

func TestMain(m *testing.M)

Types

This section is empty.

Jump to

Keyboard shortcuts

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