An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.5% on proxy.golang.org
Top 1.7% dependent packages on proxy.golang.org
Top 2.1% dependent repos on proxy.golang.org

proxy.golang.org : github.com/soniakeys/unit

Unit defines some types used in astronomy, and heavily used by the packages in github.com/soniakeys/meeus. Four types are currently defined, Angle, HourAngle, RA, and Time. All are commonly formatted in sexagesimal notation and the external package github.com/soniakeys/sexagesimal has formatting routines. Routines here are methods on the four types and a few other related functions. The underlying type for these four types is simply float64. For Angle, HourAngle, and RA, the value is always in radians. For Time, it is seconds. The choice of methods defined is somewhat arbitrary. Methods were defined as they were found convenient for the Meeus library, and then filled out somewhat for consistency. The convenience is often syntactic; as the underlying type is float64 conversions to and from float64 are often free and otherwise typically only incur a multiplication.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/soniakeys/unit
License: MIT
Latest release: about 7 years ago
First release: about 7 years ago
Namespace: github.com/soniakeys
Dependent packages: 10
Dependent repositories: 6
Stars: 1 on GitHub
Forks: 2 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago

    Loading...
    Readme
    Loading...