num

package
v0.0.0-...-a81b4a7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package num provides numeric utilities intended to be used with stencil

As an example, to use a version of num specialized for int32 use

import "github.com/sridharv/stencil/std/num/Number/int32"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Number

type Number float64

func Max

func Max(n ...Number) Number

Max returns the largest number in n

func Min

func Min(n ...Number) Number

Min returns the smallest number in n

func Sum

func Sum(n ...Number) Number

Sum returns the sum of all numbers in n

Jump to

Keyboard shortcuts

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