Home
last modified time | relevance | path

Searched refs:cosL (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarAstronomer.java448 double cosL = Math.cos(eclipLong); in eclipticToEquatorial() local
454 return new Equatorial(Math.atan2(sinL*cosE - tanB*sinE, cosL), in eclipticToEquatorial()
485 double cosL = Math.cos(fLatitude); in eclipticToHorizon() local
487 double altitude = Math.asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()
488 double azimuth = Math.atan2(-cosD*cosL*sinH, sinD - sinL * Math.sin(altitude)); in eclipticToHorizon()
/external/icu/icu4c/source/i18n/
Dastro.cpp469 double cosL = cos(eclipLong); in eclipticToEquatorial() local
475 result.set(atan2(sinL*cosE - tanB*sinE, cosL), in eclipticToEquatorial()
510 double cosL = cos(fLatitude); in eclipticToHorizon() local
512 double altitude = asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()
513 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon()