elvish: github.com/elves/elvish/pkg/eval/mods/math Index | Files

package math

import "github.com/elves/elvish/pkg/eval/mods/math"

Package math exposes functionality from Go's math package as an elvish module.

Index

Package Files

math.go

Variables

var Ns = eval.Ns{
    "e":  vars.NewReadOnly(math.E),
    "pi": vars.NewReadOnly(math.Pi),
}.AddGoFns("math:", fns)

Ns is the namespace for the math: module.

Package math imports 3 packages (graph) and is imported by 1 packages. Updated 2020-09-03. Refresh now. Tools for package owners.