Documentation ¶
Overview ¶
Accuracy: Chapter 2, About accuracy.
This is a documentation only package. The book has good advice for program authors.
In general, packages use the Go float64 type throughout. Float64 implements IEEE-754 64 bit floating point numbers fairly closely. See the Go programming language reference and the IEEE-754 reference for more details.
The example functions in the library make heavy use of the external package github.com/soniakeys/sexagesimal for formatted output. That package has features for recognizing the accuracy limitations of a float64 and and indicating accuracy limits in formatted output. See sexagesimal package documentation for more details.
Click to show internal directories.
Click to hide internal directories.