Registry / utility / alfredxing-calc

alfredxing-calc

JSON →
library0.0.0-20180827002445-77daf576f976gogounverified

Provides a simple arithmetic expression evaluator.

go get github.com/alfredxing/calc
INSTALL
IMPORT
SIG · ALFREDXING-CALC
A
alfredxing-calc
utilitygov0.0.0-20180827002445-77daf576f976
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

calc
github.com/alfredxing/calc

Evaluates a mathematical expression and prints the result.

package main import ( "fmt" "github.com/alfredxing/calc" ) func main() { result, err := calc.Evaluate("2 + 3 * 4") if err != nil { panic(err) } fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180827002445-77daf576f976latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
OpenAI (training)
1
Resources