package
Version:
v0.0.0-...-80c8c53
Opens a new window with list of versions in this module.
Published: Mar 9, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Info struct {
Value int
ReferenceValue int
AbsoluteError int
RelativeError float64
}
Info represents values related to an error computation
that are obtained based on original value and reference value.
func Calculate(referenceValue, value int) *Info
Calculate calculate errors between original value and reference value.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.