src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

const.go (239B)


      1 package sunrise
      2 
      3 import (
      4 	"math"
      5 )
      6 
      7 const (
      8 	// Degree provides a precise fraction for converting between degrees and
      9 	// radians.
     10 	Degree = math.Pi / 180
     11 
     12 	// J2000 is the Julian date for January 1, 2000, 12:00:00 TT.
     13 	J2000 = 2451545
     14 )