hugo: Index | Files

package math

import ""


Package Files


func DoArithmetic Uses

func DoArithmetic(a, b interface{}, op rune) (interface{}, error)

DoArithmetic performs arithmetic operations (+,-,*,/) using reflection to determine the type of the two terms.

Package math imports 2 packages (graph) and is imported by 21 packages. Updated 2019-08-20. Refresh now. Tools for package owners.