Standard library / math/big
big.Accuracy
Reports whether a rounded result is below, exact or above the mathematical value. Expected stdout: 'Exact\n'.
Formal Syntax & Structure
go syntaxgo
type Accuracy int8Working Example
Example Snippetgo
package main
import ( "fmt" "math/big")
func main() { var a big.Accuracy = big.Exact fmt.Println(a)}