Searched refs:RAD_DEG (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarAstronomer.java | 191 static private final double RAD_DEG = 180 / PI; // radians -> degrees field in CalendarAstronomer 1318 long delta = (long)((240 * y * RAD_DEG / cosD)*SECOND_MS); 1511 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG); 1571 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG); 1637 return Double.toString(altitude*RAD_DEG) + "," + (azimuth*RAD_DEG); 1662 int deg = (int) (angle*RAD_DEG); 1663 int min = (int)((angle*RAD_DEG - deg) * 60); 1664 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarAstronomer.java | 189 static private final double RAD_DEG = 180 / PI; // radians -> degrees field in CalendarAstronomer 1316 long delta = (long)((240 * y * RAD_DEG / cosD)*SECOND_MS); 1509 return Double.toString(longitude*RAD_DEG) + "," + (latitude*RAD_DEG); 1569 return Double.toString(ascension*RAD_DEG) + "," + (declination*RAD_DEG); 1635 return Double.toString(altitude*RAD_DEG) + "," + (azimuth*RAD_DEG); 1660 int deg = (int) (angle*RAD_DEG); 1661 int min = (int)((angle*RAD_DEG - deg) * 60); 1662 int sec = (int)((angle*RAD_DEG - deg - min/60.0) * 3600);
|
/external/icu/icu4c/source/i18n/ |
D | astro.cpp | 206 #define RAD_DEG ( 180 / CalendarAstronomer::PI ) // radians -> degrees macro 1402 long delta = (long)((240 * y * RAD_DEG / cosD)*SECOND_MS); in riseOrSet() 1482 sprintf(tmp, "[%.5f,%.5f]", longitude*RAD_DEG, latitude*RAD_DEG); in toString() 1494 (ascension*RAD_DEG), (declination*RAD_DEG)); in toString() 1505 sprintf(tmp, "[%.5f,%.5f]", altitude*RAD_DEG, azimuth*RAD_DEG); in toString()
|