亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? astro.c

?? PIXIL is a small footprint operating environment, complete with PDA PIM applications, a browser and
?? C
字號:
/* * Portions Copyright (c) 2003 Century Software, Inc.   All Rights Reserved. * * This file is part of the PIXIL Operating Environment * * The use, copying and distribution of this file is governed by one * of two licenses, the PIXIL Commercial License, or the GNU General * Public License, version 2. * * Licensees holding a valid PIXIL Commercial License may use this file * in accordance with the PIXIL Commercial License Agreement provided * with the Software. Others are governed under the terms of the GNU * General Public License version 2. * * This file may be distributed and/or modified under the terms of the * GNU General Public License version 2 as published by the Free * Software Foundation and appearing in the file LICENSE.GPL included * in the packaging of this file. * * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A * PARTICULAR PURPOSE. * * RESTRICTED RIGHTS LEGEND * * Use, duplication, or disclosure by the government is subject to * restriction as set forth in paragraph (b)(3)(b) of the Rights in * Technical Data and Computer Software clause in DAR 7-104.9(a). * * See http://www.pixil.org/gpl/ for GPL licensing * information. * * See http://www.pixil.org/license.html or * email cetsales@centurysoftware.com for information about the PIXIL * Commercial License Agreement, or if any conditions of this licensing * are not clear to you. *//* This code is originally derived from Sunclock 3.xx - see below:  *//***************************************************************************** * * Sunclock version 3.xx by Jean-Pierre Demailly * * Is derived from the previous versions whose notices appear below. * See CHANGES for more explanation on the (quite numerous changes and * improvements). Version 3.xx is now published under the GPL. *//***************************************************************************** * * Sun clock.  X11 version by John Mackin. * * This program was derived from, and is still in part identical with, the * Suntools Sun clock program whose author's comment appears immediately * below.  Please preserve both notices. * * The X11R3/4 version of this program was written by John Mackin, at the * Basser Department of Computer Science, University of Sydney, Sydney, * New South Wales, Australia; <john@cs.su.oz.AU>.  This program, like * the one it was derived from, is in the public domain: `Love is the * law, love under will.' *//*****************************************************************************        Sun clock        Designed and implemented by John Walker in November of 1988.        Version for the Sun Workstation.    The algorithm used to calculate the position of the Sun is given in    Chapter 18 of:    "Astronomical  Formulae for Calculators" by Jean Meeus, Third Edition,    Richmond: Willmann-Bell, 1985.  This book can be obtained from:       Willmann-Bell       P.O. Box 35025       Richmond, VA  23235       USA       Phone: (804) 320-7016    This program was written by:       John Walker       Autodesk, Inc.       2320 Marinship Way       Sausalito, CA  94965       USA       Fax:   (415) 389-9418       Voice: (415) 332-2344 Ext. 2829       Usenet: {sun,well,uunet}!acad!kelvin           or: kelvin@acad.uu.net    modified for interactive maps by        Stephen Martin        Fujitsu Systems Business of Canada        smartin@fujitsu.ca    This  program is in the public domain: "Do what thou wilt shall be the    whole of the law".  I'd appreciate  receiving  any  bug  fixes  and/or    enhancements,  which  I'll  incorporate  in  future  versions  of  the    program.  Please leave the original attribution information intact  so    that credit and blame may be properly apportioned.*/#include <time.h>#include <math.h>#include "nxsunclock.h"/*  JDATE  --  Convert internal GMT date and time to Julian day	       and fraction.  */longjdate(t)     struct tm *t;{    long c, m, y;    y = t->tm_year + 1900;    m = t->tm_mon + 1;    if (m > 2)	m = m - 3;    else {	m = m + 9;	y--;    }    c = y / 100L;		/* Compute century */    y -= 100L * c;    return t->tm_mday + (c * 146097L) / 4 + (y * 1461L) / 4 +	(m * 153L + 2) / 5 + 1721119L;}/* JTIME --    Convert internal GMT  date  and	time  to  astronomical	       Julian  time  (i.e.   Julian  date  plus  day fraction,	       expressed as a double).	*/doublejtime(t)     struct tm *t;{#ifdef NOTUSED    long val = t->tm_sec + (60L * (t->tm_min + 60L * t->tm_hour));    double ret = (((double) (jdate(t) + val)) - 0.5) / 86400.0;    return (ret);#endif    return ((jdate(t) - 0.5) +	    (((long) t->tm_sec) +	     60L * (t->tm_min + 60L * t->tm_hour)) / 86400.0);}/*  KEPLER  --	Solve the equation of Kepler.  */doublekepler(m, ecc)     double m, ecc;{    double e, delta;#define EPSILON 1E-6    e = m = dtr(m);    do {	delta = e - ecc * sin(e) - m;	e -= delta / (1 - ecc * cos(e));    } while (abs(delta) > EPSILON);    return e;}/*  SUNPOS  --	Calculate position of the Sun.	JD is the Julian  date		of  the  instant for which the position is desired and		APPARENT should be nonzero if  the  apparent  position		(corrected  for  nutation  and aberration) is desired.                The Sun's co-ordinates are returned  in  RA  and  DEC,		both  specified  in degrees (divide RA by 15 to obtain		hours).  The radius vector to the Sun in  astronomical                units  is returned in RV and the Sun's longitude (true		or apparent, as desired) is  returned  as  degrees  in		SLONG.	*/voidsunpos(jd, apparent, ra, dec, rv, slong)     double jd;     int apparent;     double *ra, *dec, *rv, *slong;{    double t, t2, t3, l, m, e, ea, v, theta, omega, eps;    /* Time, in Julian centuries of 36525 ephemeris days,       measured from the epoch 1900 January 0.5 ET. */    t = (jd - 2415020.0) / 36525.0;    t2 = t * t;    t3 = t2 * t;    /* Geometric mean longitude of the Sun, referred to the       mean equinox of the date. */    l = fixangle(279.69668 + 36000.76892 * t + 0.0003025 * t2);    /* Sun's mean anomaly. */    m = fixangle(358.47583 + 35999.04975 * t - 0.000150 * t2 -		 0.0000033 * t3);    /* Eccentricity of the Earth's orbit. */    e = 0.01675104 - 0.0000418 * t - 0.000000126 * t2;    /* Eccentric anomaly. */    ea = kepler(m, e);    /* True anomaly */    //opera = sqrt((1 + e) / (1 - e));    //operb = tan(ea / 2);    //operc = rtd(opera * operb);    //v = fixangle(2 * operc);    v = fixangle(2 * rtd(atan(sqrt((1 + e) / (1 - e)) * tan(ea / 2))));    /* Sun's true longitude. */    theta = l + v - m;    /* Obliquity of the ecliptic. */    eps = 23.452294 - 0.0130125 * t - 0.00000164 * t2 + 0.000000503 * t3;    /* Corrections for Sun's apparent longitude, if desired. */    if (apparent) {	omega = fixangle(259.18 - 1934.142 * t);	theta = theta - 0.00569 - 0.00479 * sin(dtr(omega));	eps += 0.00256 * cos(dtr(omega));    }    /* Return Sun's longitude and radius vector */    *slong = theta;    *rv = (1.0000002 * (1 - e * e)) / (1 + e * cos(dtr(v)));    /* Determine solar co-ordinates. */    //opera = cos(dtr(eps)) * sin(dtr(theta));    //operb = cos(dtr(theta));    //operc = rtd(atan2(opera, operb));    //*ra = fixangle(operc);    *ra =	fixangle(rtd		 (atan2(cos(dtr(eps)) * sin(dtr(theta)), cos(dtr(theta)))));    *dec = rtd(asin(sin(dtr(eps)) * sin(dtr(theta))));}/*  GMST  --  Calculate Greenwich Mean Siderial Time for a given	      instant expressed as a Julian date and fraction.	*/doublegmst(jd)     double jd;{    double t, theta0;    /* Time, in Julian centuries of 36525 ephemeris days,       measured from the epoch 1900 January 0.5 ET. */    t = ((floor(jd + 0.5) - 0.5) - 2415020.0) / 36525.0;    theta0 = 6.6460656 + 2400.051262 * t + 0.00002581 * t * t;    t = (jd + 0.5) - (floor(jd + 0.5));    theta0 += (t * 24.0) * 1.002737908;    theta0 = (theta0 - 24.0 * (floor(theta0 / 24.0)));    return theta0;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品女上位| 99国内精品久久| 欧美午夜影院一区| 亚洲图片一区二区| 欧美三级在线看| 亚洲777理论| 粉嫩久久99精品久久久久久夜| 国产高清不卡一区| |精品福利一区二区三区| 亚洲国产精品成人久久综合一区 | 在线视频一区二区三区| 91影视在线播放| 在线观看日韩国产| 欧美日精品一区视频| 在线电影国产精品| 欧美一区二区福利在线| 精品国产一区二区三区久久久蜜月 | 最新国产の精品合集bt伙计| 国产三级精品视频| 亚洲婷婷在线视频| 亚洲自拍偷拍网站| 午夜精品久久久久久久久| 日韩精品亚洲专区| 另类专区欧美蜜桃臀第一页| 国产一区二区在线看| 成人在线视频一区二区| 99re热视频这里只精品| 欧美性视频一区二区三区| 欧美日韩国产免费一区二区 | 日韩一级成人av| 久久视频一区二区| 日韩一区在线免费观看| 亚洲一区中文日韩| 蜜桃视频一区二区三区在线观看| 国产一区二三区好的| 成人动漫在线一区| 欧美日韩日日夜夜| 久久精品在线免费观看| 亚洲女同ⅹxx女同tv| 日本在线不卡视频一二三区| 国产成人免费网站| 在线亚洲免费视频| 久久亚洲精华国产精华液| 亚洲欧洲精品一区二区三区| 亚洲第一久久影院| 国产一区二区导航在线播放| 91啪在线观看| 日韩欧美国产午夜精品| 亚洲欧洲日本在线| 久久99热这里只有精品| 一本大道久久精品懂色aⅴ| 欧美一级电影网站| 中文字幕一区视频| 免费成人美女在线观看.| av一区二区三区在线| 91.麻豆视频| 国产精品网站在线播放| 日韩专区欧美专区| 成人av午夜影院| 日韩亚洲欧美一区| 亚洲精品乱码久久久久久黑人| 久久精品国产亚洲高清剧情介绍| 97久久精品人人做人人爽50路| 日韩一级精品视频在线观看| 亚洲人成精品久久久久久| 九一九一国产精品| 欧美性大战久久久久久久| 久久久99精品免费观看| 肉丝袜脚交视频一区二区| 99r国产精品| 国产蜜臀av在线一区二区三区| 日本成人在线看| 欧亚一区二区三区| 1024成人网| 国产91露脸合集magnet| 精品捆绑美女sm三区| 亚洲成年人网站在线观看| 99精品久久99久久久久| 国产日产欧美一区二区三区| 裸体歌舞表演一区二区| 欧美日韩一级视频| 亚洲美女一区二区三区| 99久久久国产精品| 国产日韩av一区| 国产乱妇无码大片在线观看| 日韩欧美在线影院| 日韩国产在线一| 欧美色网一区二区| 亚洲精品国产高清久久伦理二区| 成人激情小说网站| 欧美高清在线精品一区| 国产精品 欧美精品| 精品国产乱码久久| 麻豆精品久久精品色综合| 91精品国产综合久久久蜜臀粉嫩| 亚洲不卡av一区二区三区| 在线免费亚洲电影| 一区二区三区不卡视频在线观看| www.视频一区| 日本一区二区三区免费乱视频| 九一久久久久久| 精品国产一区二区国模嫣然| 美腿丝袜一区二区三区| 欧美一区日韩一区| 美女视频免费一区| 精品久久久久久久久久久久久久久 | 不卡一区二区三区四区| 国产精品久久国产精麻豆99网站| 国产成人综合网| 久久久91精品国产一区二区三区| 国产成人一区二区精品非洲| 中文字幕不卡在线观看| 91亚洲资源网| 亚洲精品免费在线| 欧美性大战久久久| 日韩电影网1区2区| 26uuu久久天堂性欧美| 国产精品 日产精品 欧美精品| 亚洲国产精品激情在线观看| 91麻豆成人久久精品二区三区| 亚洲久草在线视频| 欧美日韩精品福利| 免费观看久久久4p| 久久久亚洲精品石原莉奈| 国产成人精品一区二区三区四区 | 粉嫩av亚洲一区二区图片| 国产精品久久777777| 91福利在线导航| 奇米在线7777在线精品| 久久久久久久久岛国免费| 成人黄色av电影| 一区二区三区高清不卡| 日韩视频一区二区三区| 国产久卡久卡久卡久卡视频精品| 欧美国产激情一区二区三区蜜月| 91视频在线看| 日本少妇一区二区| 国产亚洲精品精华液| 91亚洲国产成人精品一区二区三| 亚洲国产日韩综合久久精品| 日韩午夜中文字幕| 成人美女视频在线观看| 亚洲自拍偷拍九九九| 精品成人a区在线观看| caoporn国产精品| 无码av免费一区二区三区试看| 欧美成人一区二区三区在线观看| 99在线精品视频| 日韩不卡在线观看日韩不卡视频| 久久久欧美精品sm网站| 色视频欧美一区二区三区| 美国毛片一区二区三区| 亚洲欧洲www| 日韩亚洲欧美综合| 91在线精品秘密一区二区| 欧美a级一区二区| 日韩一区有码在线| 精品国产自在久精品国产| 色综合久久久久综合体| 韩国一区二区在线观看| 夜夜嗨av一区二区三区网页| 欧美精品一区二区三区久久久| 色综合一区二区三区| 久久99久久99精品免视看婷婷 | 亚洲国产精品视频| 国产欧美日韩在线| 91精品国产福利| 97se狠狠狠综合亚洲狠狠| 六月丁香综合在线视频| 亚洲一区二区三区四区不卡| 久久久久久免费毛片精品| 欧美视频一二三区| jizz一区二区| 国产一区二区三区四区五区美女| 亚洲国产日韩在线一区模特| 欧美激情在线看| 精品乱人伦小说| 777a∨成人精品桃花网| 91香蕉国产在线观看软件| 国精产品一区一区三区mba视频| 图片区小说区国产精品视频| 亚洲另类在线一区| 欧美国产1区2区| 久久蜜桃av一区二区天堂| 欧美一级日韩免费不卡| 日本韩国精品一区二区在线观看| 粉嫩av一区二区三区在线播放 | 欧美一区二区三区性视频| 色嗨嗨av一区二区三区| 波多野结衣视频一区| 国产一区啦啦啦在线观看| 久草热8精品视频在线观看| 日本va欧美va瓶| 亚洲国产成人av| 亚洲国产精品久久久男人的天堂| 国产精品毛片高清在线完整版| 久久精品视频网| 久久亚洲精品小早川怜子| 欧美精品一区二区三区蜜桃视频 | 久久奇米777|