志第(di)十八(ba)上 历四上
《开元大衍历》演纪上元阏逢困敦之岁,距开元十二年甲子,积九千六百九十六万一千七百四十算。
○一曰步中朔术
通法三千四十。
策(ce)实百(bai)一(yi)十一(yi)万三百(bai)四(si)十三。
揲法八万(wan)九千七百七十(shi)三(san)。
减法九万一千二百。
策余万五千九百四十三。
用差万七千一百二十四。
挂限(xian)八万(wan)七千(qian)一十八。
三元之策十五,余六(liu)百六(liu)十四,秒七。
四象之策二十九(jiu),余千六百一十三(san)。
中盈分(fen)千三百(bai)二十(shi)八(ba),秒(miao)十(shi)四。
朔虚(xu)分(fen)千四百二十七。
爻数六十。
象统二十四。
以策(ce)(ce)实乘(cheng)积算,曰(yue)中积分。盈通法(fa)得(de)一(yi),为(wei)积日(ri)(ri)。爻(yao)数(shu)去之(zhi),余(yu)起甲子算外(wai),得(de)天(tian)正中气。凡(fan)分为(wei)小余(yu),日(ri)(ri)为(wei)大余(yu)。加(jia)三元之(zhi)策(ce)(ce),得(de)次气。凡(fan)率相因(yin)加(jia)者,下有余(yu)秒,皆以类相从。而满法(fa)迭进,用加(jia)上(shang)位。日(ri)(ri)盈爻(yao)数(shu)去之(zhi)。
以(yi)揲法去(qu)中积分(fen),不(bu)尽(jin)曰归(gui)余(yu)之(zhi)(zhi)挂。以(yi)减中积分(fen),为朔(shuo)积分(fen)。如通法为日,去(qu)命如前(qian),得(de)天正经朔(shuo)。加一象之(zhi)(zhi)日七、余(yu)千一百六十(shi)三少,得(de)上弦。倍之(zhi)(zhi),得(de)望。参之(zhi)(zhi),得(de)下弦。四之(zhi)(zhi),是谓一揲,得(de)后月(yue)(yue)朔(shuo)。凡四分(fen),一为少,三为太。综(zong)中盈(ying)、朔(shuo)虚分(fen),累益归(gui)余(yu)之(zhi)(zhi)挂,每其(qi)月(yue)(yue)闰(run)衰。凡归(gui)余(yu)之(zhi)(zhi)挂五万六千七百六十(shi)以(yi)上,其(qi)岁有(you)闰(run)。因考(kao)其(qi)闰(run)衰,满挂限以(yi)上,其(qi)月(yue)(yue)合置闰(run)。或(huo)以(yi)进退,皆以(yi)定(ding)朔(shuo)无中气裁焉。
凡(fan)常(chang)气(qi)小余(yu)不满通法、如中盈分之半(ban)已下者,以象统乘(cheng)之,内秒(miao)分,参而伍之,以减(jian)(jian)策实;不尽,如策余(yu)为日(ri)。命(ming)(ming)常(chang)气(qi)初日(ri)算外,得没日(ri)。凡(fan)经朔小余(yu)不满朔虚分者,以小余(yu)减(jian)(jian)通法,余(yu)倍参伍乘(cheng)之,用减(jian)(jian)灭法;不尽,如朔虚分为日(ri)。命(ming)(ming)经朔初日(ri)算外,得灭日(ri)。
○二曰发敛术
天中之策五,余二百二十一,秒三(san)十一;秒法七十二。
地中之策六(liu),余二百六(liu)十(shi)五,秒(miao)八十(shi)六(liu);秒(miao)法(fa)百二十(shi)。
贞悔之策三(san),余百三(san)十二,秒百三(san)。
辰法七百六十。
刻法三百四。
各因(yin)中节(jie)(jie)命之(zhi),得(de)(de)(de)初(chu)候。加(jia)(jia)天中之(zhi)策,得(de)(de)(de)次候。又(you)加(jia)(jia),得(de)(de)(de)末候。因(yin)中气(qi)命之(zhi),得(de)(de)(de)公(gong)卦(gua)用(yong)事。以(yi)地中之(zhi)策累加(jia)(jia)之(zhi),得(de)(de)(de)次卦(gua),若以(yi)贞悔(hui)之(zhi)策加(jia)(jia)侯卦(gua),得(de)(de)(de)十有二节(jie)(jie)之(zhi)初(chu)外卦(gua)用(yong)事。因(yin)四立命之(zhi),得(de)(de)(de)春木、夏火、秋金、冬水用(yong)事。以(yi)贞悔(hui)之(zhi)策减(jian)季月(yue)中气(qi),得(de)(de)(de)土(tu)王用(yong)事。凡相(xiang)加(jia)(jia)减(jian)而秒母不齐,当(dang)令母互乘子,乃加(jia)(jia)减(jian)之(zhi);母相(xiang)乘为法。
各(ge)以能法(fa)(fa)约(yue)其月(yue)闰衰,为(wei)(wei)(wei)日,得中气去经(jing)朔日算(suan)。求卦、候者(zhe),各(ge)以天(tian)、地之(zhi)策,累加减之(zhi)。凡发(fa)敛加时,各(ge)置其小余,以六(liu)爻乘之(zhi),如辰法(fa)(fa)而(er)一(yi)(yi),为(wei)(wei)(wei)半辰之(zhi)数(shu)。不尽者(zhe),三(san)约(yue)为(wei)(wei)(wei)分(fen)。分(fen)满刻(ke)法(fa)(fa)为(wei)(wei)(wei)刻(ke)。若(ruo)令满象积(ji)为(wei)(wei)(wei)刻(ke)者(zhe),即置不尽之(zhi)数(shu),十之(zhi),十九而(er)一(yi)(yi),为(wei)(wei)(wei)分(fen)。命辰起子半算(suan)外。
○三曰步日躔术
干实百一十(shi)一万三(san)百七十(shi)九(jiu)太。
周(zhou)天度(du)三(san)百六(liu)十(shi)五,虚(xu)分七百七十(shi)九太。
岁差三十六太。
以(yi)(yi)(yi)(yi)(yi)盈(ying)(ying)缩(suo)分(fen)(fen)(fen)盈(ying)(ying)减、缩(suo)加(jia)(jia)三元之(zhi)(zhi)(zhi)(zhi)策(ce),为(wei)(wei)(wei)定气(qi)(qi)(qi)(qi)(qi)所(suo)有(you)(you)日(ri)(ri)及余。乃(nai)(nai)十(shi)二乘(cheng)(cheng)(cheng)(cheng)(cheng)日(ri)(ri),又(you)三其(qi)小余,辰(chen)法约(yue)而(er)一,从之(zhi)(zhi)(zhi)(zhi),为(wei)(wei)(wei)定气(qi)(qi)(qi)(qi)(qi)辰(chen)数(shu)。不(bu)尽(jin),十(shi)之(zhi)(zhi)(zhi)(zhi),又(you)约(yue)为(wei)(wei)(wei)分(fen)(fen)(fen)。以(yi)(yi)(yi)(yi)(yi)所(suo)入(ru)(ru)气(qi)(qi)(qi)(qi)(qi)并后(hou)(hou)气(qi)(qi)(qi)(qi)(qi)盈(ying)(ying)缩(suo)分(fen)(fen)(fen),倍六(liu)爻乘(cheng)(cheng)(cheng)(cheng)(cheng)之(zhi)(zhi)(zhi)(zhi),综(zong)两(liang)气(qi)(qi)(qi)(qi)(qi)辰(chen)数(shu)除之(zhi)(zhi)(zhi)(zhi),为(wei)(wei)(wei)末(mo)(mo)(mo)率(lv)。又(you)列(lie)二气(qi)(qi)(qi)(qi)(qi)盈(ying)(ying)缩(suo)分(fen)(fen)(fen),皆(jie)倍六(liu)爻乘(cheng)(cheng)(cheng)(cheng)(cheng)之(zhi)(zhi)(zhi)(zhi),各(ge)如辰(chen)数(shu)而(er)一;以(yi)(yi)(yi)(yi)(yi)少(shao)减多(duo),余为(wei)(wei)(wei)气(qi)(qi)(qi)(qi)(qi)差(cha)(cha)。至(zhi)(zhi)后(hou)(hou)以(yi)(yi)(yi)(yi)(yi)差(cha)(cha)加(jia)(jia)末(mo)(mo)(mo)率(lv),分(fen)(fen)(fen)后(hou)(hou)以(yi)(yi)(yi)(yi)(yi)差(cha)(cha)减末(mo)(mo)(mo)率(lv),为(wei)(wei)(wei)初(chu)(chu)率(lv)。倍气(qi)(qi)(qi)(qi)(qi)差(cha)(cha),亦倍六(liu)爻乘(cheng)(cheng)(cheng)(cheng)(cheng)之(zhi)(zhi)(zhi)(zhi),复(fu)综(zong)两(liang)气(qi)(qi)(qi)(qi)(qi)辰(chen)数(shu)除,为(wei)(wei)(wei)日(ri)(ri)差(cha)(cha)。半(ban)之(zhi)(zhi)(zhi)(zhi),以(yi)(yi)(yi)(yi)(yi)加(jia)(jia)减初(chu)(chu)末(mo)(mo)(mo),各(ge)为(wei)(wei)(wei)定率(lv)。以(yi)(yi)(yi)(yi)(yi)日(ri)(ri)差(cha)(cha)至(zhi)(zhi)后(hou)(hou)以(yi)(yi)(yi)(yi)(yi)减、分(fen)(fen)(fen)后(hou)(hou)以(yi)(yi)(yi)(yi)(yi)加(jia)(jia)气(qi)(qi)(qi)(qi)(qi)初(chu)(chu)定率(lv),为(wei)(wei)(wei)每日(ri)(ri)盈(ying)(ying)缩(suo)分(fen)(fen)(fen)。乃(nai)(nai)驯积(ji)之(zhi)(zhi)(zhi)(zhi),随所(suo)入(ru)(ru)气(qi)(qi)(qi)(qi)(qi)日(ri)(ri)加(jia)(jia)、减气(qi)(qi)(qi)(qi)(qi)下先(xian)(xian)、后(hou)(hou)数(shu),各(ge)其(qi)日(ri)(ri)定数(shu)。其(qi)求(qiu)朓(tiao)朒仿此。冬至(zhi)(zhi)后(hou)(hou)为(wei)(wei)(wei)阳复(fu),在(zai)盈(ying)(ying)加(jia)(jia)之(zhi)(zhi)(zhi)(zhi),在(zai)缩(suo)减之(zhi)(zhi)(zhi)(zhi);夏(xia)至(zhi)(zhi)后(hou)(hou)为(wei)(wei)(wei)阴复(fu),在(zai)缩(suo)加(jia)(jia)之(zhi)(zhi)(zhi)(zhi),在(zai)盈(ying)(ying)减之(zhi)(zhi)(zhi)(zhi)。距四正(zheng)前一气(qi)(qi)(qi)(qi)(qi),在(zai)阴阳变革之(zhi)(zhi)(zhi)(zhi)际(ji),不(bu)可相(xiang)(xiang)并,皆(jie)因前末(mo)(mo)(mo)为(wei)(wei)(wei)初(chu)(chu)率(lv)。以(yi)(yi)(yi)(yi)(yi)气(qi)(qi)(qi)(qi)(qi)差(cha)(cha)至(zhi)(zhi)前加(jia)(jia)之(zhi)(zhi)(zhi)(zhi),分(fen)(fen)(fen)前减之(zhi)(zhi)(zhi)(zhi),为(wei)(wei)(wei)末(mo)(mo)(mo)率(lv)。余依前术,各(ge)得(de)所(suo)求(qiu)。其(qi)分(fen)(fen)(fen)不(bu)满(man)全数(shu),母(mu)又(you)每气(qi)(qi)(qi)(qi)(qi)不(bu)同,当退(tui)法除之(zhi)(zhi)(zhi)(zhi)。以(yi)(yi)(yi)(yi)(yi)百为(wei)(wei)(wei)母(mu),半(ban)已上,收成一。冬至(zhi)(zhi)、夏(xia)至(zhi)(zhi)偕得(de)天(tian)地之(zhi)(zhi)(zhi)(zhi)中(zhong),无有(you)(you)盈(ying)(ying)、缩(suo)。余各(ge)以(yi)(yi)(yi)(yi)(yi)气(qi)(qi)(qi)(qi)(qi)下先(xian)(xian)后(hou)(hou)数(shu)先(xian)(xian)减、后(hou)(hou)加(jia)(jia)常气(qi)(qi)(qi)(qi)(qi)小余,满(man)若不(bu)足(zu),进退(tui)其(qi)日(ri)(ri),得(de)定大小余。凡推日(ri)(ri)月度(du)及轨漏、交蚀(shi),依定气(qi)(qi)(qi)(qi)(qi);注历(li),依常气(qi)(qi)(qi)(qi)(qi)。以(yi)(yi)(yi)(yi)(yi)减经(jing)朔、弦、望(wang),各(ge)其(qi)所(suo)入(ru)(ru)日(ri)(ri)算(suan)(suan)。若大余不(bu)足(zu)减,加(jia)(jia)爻数(shu),乃(nai)(nai)减之(zhi)(zhi)(zhi)(zhi)。减所(suo)入(ru)(ru)定气(qi)(qi)(qi)(qi)(qi)日(ri)(ri)算(suan)(suan)一,各(ge)以(yi)(yi)(yi)(yi)(yi)日(ri)(ri)差(cha)(cha)乘(cheng)(cheng)(cheng)(cheng)(cheng)而(er)半(ban)之(zhi)(zhi)(zhi)(zhi);前少(shao)以(yi)(yi)(yi)(yi)(yi)加(jia)(jia)、前多(duo)以(yi)(yi)(yi)(yi)(yi)减气(qi)(qi)(qi)(qi)(qi)初(chu)(chu)定率(lv),以(yi)(yi)(yi)(yi)(yi)乘(cheng)(cheng)(cheng)(cheng)(cheng)其(qi)所(suo)入(ru)(ru)定气(qi)(qi)(qi)(qi)(qi)日(ri)(ri)算(suan)(suan)及余秒(miao)。凡除者(zhe),先(xian)(xian)以(yi)(yi)(yi)(yi)(yi)母(mu)通全,内子(zi),乃(nai)(nai)相(xiang)(xiang)乘(cheng)(cheng)(cheng)(cheng)(cheng);母(mu)相(xiang)(xiang)乘(cheng)(cheng)(cheng)(cheng)(cheng)除之(zhi)(zhi)(zhi)(zhi)。所(suo)得(de)以(yi)(yi)(yi)(yi)(yi)损益(yi)(yi)朓(tiao)朒积(ji),各(ge)其(qi)入(ru)(ru)朓(tiao)朒定数(shu)。若非朔、望(wang)有(you)(you)交者(zhe),以(yi)(yi)(yi)(yi)(yi)十(shi)二乘(cheng)(cheng)(cheng)(cheng)(cheng)所(suo)入(ru)(ru)日(ri)(ri)算(suan)(suan);三其(qi)小余,辰(chen)法除而(er)从之(zhi)(zhi)(zhi)(zhi);以(yi)(yi)(yi)(yi)(yi)乘(cheng)(cheng)(cheng)(cheng)(cheng)损益(yi)(yi)率(lv),如定气(qi)(qi)(qi)(qi)(qi)辰(chen)数(shu)而(er)一。所(suo)得(de)以(yi)(yi)(yi)(yi)(yi)损益(yi)(yi)朓(tiao)朒积(ji),各(ge)为(wei)(wei)(wei)定数(shu)。
南斗二十(shi)(shi)(shi)(shi)(shi)六(liu),牛八(ba),婺(wu)女十(shi)(shi)(shi)(shi)(shi)二,虚十(shi)(shi)(shi)(shi)(shi),虚分七百七十(shi)(shi)(shi)(shi)(shi)九太。危(wei)十(shi)(shi)(shi)(shi)(shi)七,营(ying)室十(shi)(shi)(shi)(shi)(shi)六(liu),东(dong)壁九,奎(kui)十(shi)(shi)(shi)(shi)(shi)六(liu),娄十(shi)(shi)(shi)(shi)(shi)二,胃(wei)十(shi)(shi)(shi)(shi)(shi)四,昴十(shi)(shi)(shi)(shi)(shi)一(yi)(yi),毕十(shi)(shi)(shi)(shi)(shi)七,觜觿一(yi)(yi),参(can)十(shi)(shi)(shi)(shi)(shi),东(dong)井三(san)(san)十(shi)(shi)(shi)(shi)(shi)三(san)(san),舆(yu)鬼(gui)三(san)(san),柳(liu)十(shi)(shi)(shi)(shi)(shi)五(wu)(wu),七星七,张十(shi)(shi)(shi)(shi)(shi)八(ba),翼(yi)十(shi)(shi)(shi)(shi)(shi)八(ba),轸十(shi)(shi)(shi)(shi)(shi)七,角(jiao)十(shi)(shi)(shi)(shi)(shi)二,亢九,氐十(shi)(shi)(shi)(shi)(shi)五(wu)(wu),房五(wu)(wu),心五(wu)(wu),尾十(shi)(shi)(shi)(shi)(shi)八(ba),箕十(shi)(shi)(shi)(shi)(shi)一(yi)(yi),为(wei)赤道度。其(qi)毕、觜觿、参(can)、舆(yu)鬼(gui)四宿度数,与(yu)古不同,依天以(yi)仪测定,用(yong)为(wei)常数。纮带(dai)天中,仪极攸(you)凭(ping),以(yi)格黄道。
推冬(dong)至(zhi)岁差(cha)(cha)所在,每(mei)距冬(dong)至(zhi)前(qian)后(hou)各五度(du)(du)为限(xian)(xian),初(chu)数十(shi)(shi)(shi)二(er)(er)(er)(er),每(mei)限(xian)(xian)减(jian)(jian)一(yi),尽(jin)九限(xian)(xian),数终(zhong)(zhong)(zhong)于(yu)四。当二(er)(er)(er)(er)立之际(ji),一(yi)度(du)(du)少(shao)强(qiang),依(yi)平。乃距春分(fen)(fen)前(qian)、秋分(fen)(fen)后(hou),初(chu)限(xian)(xian)起四,每(mei)限(xian)(xian)增一(yi),尽(jin)九限(xian)(xian),终(zhong)(zhong)(zhong)于(yu)十(shi)(shi)(shi)二(er)(er)(er)(er),而(er)黄道(dao)(dao)交复。计春分(fen)(fen)后(hou)、秋分(fen)(fen)前(qian),亦五度(du)(du)为限(xian)(xian)。初(chu)数十(shi)(shi)(shi)二(er)(er)(er)(er),尽(jin)九限(xian)(xian),数终(zhong)(zhong)(zhong)于(yu)四。当二(er)(er)(er)(er)立之际(ji),一(yi)度(du)(du)少(shao)强(qiang),依(yi)平。乃距夏至(zhi)前(qian)后(hou),初(chu)限(xian)(xian)起四,尽(jin)九限(xian)(xian),终(zhong)(zhong)(zhong)于(yu)十(shi)(shi)(shi)二(er)(er)(er)(er)。皆累裁之,以数乘(cheng)限(xian)(xian)度(du)(du),百二(er)(er)(er)(er)十(shi)(shi)(shi)而(er)一(yi),得(de)度(du)(du);不满者,十(shi)(shi)(shi)二(er)(er)(er)(er)除,为分(fen)(fen)。若以十(shi)(shi)(shi)除,则大分(fen)(fen),十(shi)(shi)(shi)二(er)(er)(er)(er)为母,命太、半、少(shao)及强(qiang)、弱。命曰黄、赤道(dao)(dao)差(cha)(cha)数。二(er)(er)(er)(er)至(zhi)前(qian)、后(hou)各九限(xian)(xian),以差(cha)(cha)减(jian)(jian)赤道(dao)(dao)度(du)(du),二(er)(er)(er)(er)分(fen)(fen)前(qian)、后(hou)各九限(xian)(xian),以差(cha)(cha)加赤道(dao)(dao)度(du)(du),各为黄道(dao)(dao)度(du)(du)。
开元十二年,南(nan)斗(dou)二十三半,牛七(qi)(qi)半,婺女十一(yi)(yi)少(shao),虚(xu)十,六虚(xu)之差十九(jiu)(jiu)太(tai)。危(wei)十七(qi)(qi)太(tai),营(ying)室十七(qi)(qi)少(shao),东壁九(jiu)(jiu)太(tai),奎十七(qi)(qi)半,娄(lou)十二太(tai),胃十四(si)(si)太(tai),昴十一(yi)(yi),毕十六少(shao),觜觿一(yi)(yi),参(can)九(jiu)(jiu)少(shao),东井三十,舆鬼二太(tai),柳十四(si)(si)少(shao),七(qi)(qi)星六太(tai),张十八太(tai),翼十九(jiu)(jiu)少(shao),轸十八太(tai),角十三,亢九(jiu)(jiu)半,氐十五(wu)太(tai),房五(wu),心四(si)(si)太(tai),尾十七(qi)(qi),箕十少(shao),为(wei)黄道(dao)度(du),以步日(ri)行。日(ri)与五(wu)星出(chu)入,循此。求此宿度(du),皆有(you)余分,前后辈(bei)之成(cheng)少(shao)、半、太(tai),准为(wei)全度(du)。若上(shang)考往古,下验将来(lai),当(dang)据岁差,每移一(yi)(yi)度(du),各(ge)依术算,使(shi)得当(dang)时(shi)度(du)分,然(ran)后可以步三辰矣(yi)。
以乾(qian)实去(qu)中积分,不尽者,盈通法为度(du)。命(ming)起赤道虚九(jiu),宿(su)(su)次(ci)去(qu)之(zhi),经虚去(qu)分,至不满宿(su)(su)算外,得冬至加时日度(du)。以三元之(zhi)策累加之(zhi),得次(ci)气加时日度(du)。
以度(du)(du)余(yu)减通法,余(yu)以冬至日(ri)躔距(ju)度(du)(du)所入限数(shu)乘之(zhi),为距(ju)前分(fen)。置距(ju)度(du)(du)下(xia)黄、赤道(dao)差(cha)(cha),以通法乘之(zhi),减去距(ju)前分(fen),余(yu)满百二十除,为定差(cha)(cha)。不(bu)满者,以象统乘之(zhi),复除,为秒分(fen)。乃以定差(cha)(cha)减赤道(dao)宿度(du)(du),得(de)冬至加(jia)时黄道(dao)日(ri)度(du)(du)。
又置(zhi)岁差,以限数乘之(zhi),满(man)百(bai)二十除(chu),为(wei)秒(miao)分。不尽为(wei)小分。以加三元(yuan)之(zhi)策(ce),因累(lei)裁之(zhi)。命以黄道宿次,各得定气加时日(ri)度(du)。
置其气(qi)定(ding)小余(yu)(yu),副之。以乘(cheng)其日(ri)(ri)盈(ying)、缩分,满通法而一(yi),盈(ying)加(jia)、缩减(jian)其副。用(yong)减(jian)其日(ri)(ri)加(jia)时(shi)度余(yu)(yu),得(de)其夜(ye)半日(ri)(ri)度。因累加(jia)一(yi)策,以其日(ri)(ri)盈(ying)、缩分盈(ying)加(jia)、缩减(jian)度余(yu)(yu),得(de)每日(ri)(ri)夜(ye)半日(ri)(ri)度。
○四曰步月离术
转终六百(bai)七(qi)十万一(yi)千二百(bai)七(qi)十九。
转(zhuan)终日二十七,余千(qian)六百八(ba)十五,秒七十九。
转法七十六。
转秒法八十。
以秒法(fa)(fa)乘(cheng)朔(shuo)积分,盈转(zhuan)终去之;余复(fu)以秒法(fa)(fa)约,为(wei)入转(zhuan)分;满通法(fa)(fa),为(wei)日(ri)(ri)。命日(ri)(ri)算外,得天正经朔(shuo)加(jia)时所(suo)入。因加(jia)转(zhuan)差(cha)日(ri)(ri)一(yi)、余二千(qian)九百六十七、秒一(yi),得次(ci)朔(shuo)。以一(yi)象之策,循变相加(jia),得弦、望。盈转(zhuan)终日(ri)(ri)及余秒者(zhe),去之。各以经朔(shuo)、弦、望小余减之,得其日(ri)(ri)夜半所(suo)入。
各置朔(shuo)、弦、望所入(ru)(ru)转(zhuan)日(ri)损(sun)益率(lv)(lv)(lv)(lv)(lv)(lv),并后率(lv)(lv)(lv)(lv)(lv)(lv)而(er)半(ban)之(zhi),为通(tong)率(lv)(lv)(lv)(lv)(lv)(lv)。又二(er)率(lv)(lv)(lv)(lv)(lv)(lv)相减(jian)(jian),为率(lv)(lv)(lv)(lv)(lv)(lv)差(cha)(cha)(cha)。前多者(zhe)(zhe)(zhe)(zhe),以(yi)入(ru)(ru)余减(jian)(jian)通(tong)法(fa),余乘率(lv)(lv)(lv)(lv)(lv)(lv)差(cha)(cha)(cha),盈(ying)通(tong)法(fa)得(de)一,并率(lv)(lv)(lv)(lv)(lv)(lv)差(cha)(cha)(cha)而(er)半(ban)之(zhi);前少(shao)者(zhe)(zhe)(zhe)(zhe),半(ban)入(ru)(ru)余,乘率(lv)(lv)(lv)(lv)(lv)(lv)差(cha)(cha)(cha),亦以(yi)通(tong)法(fa)除之(zhi):为加时转(zhuan)率(lv)(lv)(lv)(lv)(lv)(lv)。乃半(ban)之(zhi),以(yi)损(sun)益加时所入(ru)(ru),余为转(zhuan)余。其(qi)(qi)转(zhuan)余,应(ying)(ying)益者(zhe)(zhe)(zhe)(zhe),减(jian)(jian)法(fa);应(ying)(ying)损(sun)者(zhe)(zhe)(zhe)(zhe),因余。皆(jie)以(yi)乘率(lv)(lv)(lv)(lv)(lv)(lv)差(cha)(cha)(cha),盈(ying)通(tong)法(fa)得(de)一,加于通(tong)率(lv)(lv)(lv)(lv)(lv)(lv),转(zhuan)率(lv)(lv)(lv)(lv)(lv)(lv)乘之(zhi),通(tong)法(fa)约(yue)之(zhi),以(yi)朓减(jian)(jian)、朒(nv)(nv)加转(zhuan)率(lv)(lv)(lv)(lv)(lv)(lv),为定(ding)率(lv)(lv)(lv)(lv)(lv)(lv)。乃以(yi)定(ding)率(lv)(lv)(lv)(lv)(lv)(lv)损(sun)益朓肉积(ji),为定(ding)数(shu)。其(qi)(qi)后无同率(lv)(lv)(lv)(lv)(lv)(lv)者(zhe)(zhe)(zhe)(zhe),亦因前率(lv)(lv)(lv)(lv)(lv)(lv)。应(ying)(ying)益者(zhe)(zhe)(zhe)(zhe),以(yi)通(tong)率(lv)(lv)(lv)(lv)(lv)(lv)为初数(shu),半(ban)率(lv)(lv)(lv)(lv)(lv)(lv)差(cha)(cha)(cha)而(er)减(jian)(jian)之(zhi);应(ying)(ying)损(sun)者(zhe)(zhe)(zhe)(zhe),即为通(tong)率(lv)(lv)(lv)(lv)(lv)(lv)。其(qi)(qi)损(sun)益入(ru)(ru)余进(jin)退(tui)日(ri),分(fen)为二(er)日(ri),随(sui)余初末,如(ru)法(fa)求之(zhi),所得(de)并以(yi)损(sun)益转(zhuan)率(lv)(lv)(lv)(lv)(lv)(lv)。此(ci)术本出《皇极历》,以(yi)究算术之(zhi)微变。若非朔(shuo)、望有交者(zhe)(zhe)(zhe)(zhe),直以(yi)入(ru)(ru)余乘损(sun)益率(lv)(lv)(lv)(lv)(lv)(lv),如(ru)通(tong)法(fa)而(er)一,以(yi)损(sun)益朓朒(nv)(nv),为定(ding)数(shu)。
七日、初数(shu)(shu)(shu)(shu)(shu)二(er)(er)(er)千七百一(yi)(yi),末(mo)数(shu)(shu)(shu)(shu)(shu)三(san)百三(san)十(shi)(shi)九(jiu)(jiu)。十(shi)(shi)四(si)(si)日、初数(shu)(shu)(shu)(shu)(shu)二(er)(er)(er)千三(san)百六(liu)十(shi)(shi)三(san),末(mo)数(shu)(shu)(shu)(shu)(shu)六(liu)百七十(shi)(shi)七。二(er)(er)(er)十(shi)(shi)一(yi)(yi)日、初数(shu)(shu)(shu)(shu)(shu)二(er)(er)(er)千二(er)(er)(er)十(shi)(shi)四(si)(si),末(mo)数(shu)(shu)(shu)(shu)(shu)千一(yi)(yi)十(shi)(shi)六(liu)。二(er)(er)(er)十(shi)(shi)八(ba)日,初数(shu)(shu)(shu)(shu)(shu)千六(liu)百八(ba)十(shi)(shi)六(liu),末(mo)数(shu)(shu)(shu)(shu)(shu)千三(san)百五十(shi)(shi)四(si)(si)。以四(si)(si)象(xiang)约(yue)转(zhuan)终(zhong),均得六(liu)日二(er)(er)(er)千七百一(yi)(yi)分。就全数(shu)(shu)(shu)(shu)(shu)约(yue)为九(jiu)(jiu)分日之八(ba)。各以减法,余为末(mo)数(shu)(shu)(shu)(shu)(shu)。乃四(si)(si)象(xiang)驯变相加,各其所当之日初、末(mo)数(shu)(shu)(shu)(shu)(shu)也。视入转(zhuan)余,如(ru)(ru)初数(shu)(shu)(shu)(shu)(shu)已下者,加减损益,因循前率;如(ru)(ru)初数(shu)(shu)(shu)(shu)(shu)以上,则反其衰,归于后率云。
各(ge)(ge)置(zhi)朔(shuo)(shuo)(shuo)、弦(xian)、望(wang)(wang)大(da)(da)小余,以(yi)(yi)入(ru)气(qi)、入(ru)转朓(tiao)朒定(ding)数(shu),朓(tiao)减、朒加(jia)之(zhi),为定(ding)朔(shuo)(shuo)(shuo)、弦(xian)、望(wang)(wang)大(da)(da)小余。定(ding)朔(shuo)(shuo)(shuo)日(ri)名与(yu)后(hou)朔(shuo)(shuo)(shuo)同者,月(yue)大(da)(da);不(bu)同者,小;无中(zhong)(zhong)气(qi)者,为闰月(yue)。凡言夜(ye)半,皆起(qi)晨前子正之(zhi)中(zhong)(zhong)。若注(zhu)历,观弦(xian)、望(wang)(wang)定(ding)小余,不(bu)盈(ying)晨初余数(shu)者,退一(yi)日(ri)。其(qi)望(wang)(wang)有交(jiao)、起(qi)亏在晨初已前者,亦如之(zhi)。又月(yue)行九(jiu)道迟疾,则有三(san)大(da)(da)二(er)小以(yi)(yi)日(ri)行盈(ying)、缩累增、损(sun)之(zhi),则容有四大(da)(da)三(san)小,理(li)数(shu)然也。若俯循(xun)常仪,当察加(jia)时(shi)早晚,随其(qi)所(suo)近而进(jin)退之(zhi),使(shi)不(bu)过三(san)大(da)(da)二(er)小。其(qi)正月(yue)朔(shuo)(shuo)(shuo)有交(jiao)、加(jia)时(shi)正见者,消息前后(hou)一(yi)两(liang)月(yue),以(yi)(yi)定(ding)大(da)(da)小,令亏在晦、二(er)。定(ding)朔(shuo)(shuo)(shuo)、弦(xian)、望(wang)(wang)夜(ye)半日(ri)度,各(ge)(ge)随所(suo)直日(ri)度及余分命之(zhi)。乃列定(ding)朔(shuo)(shuo)(shuo)、弦(xian)、望(wang)(wang)小余,副之(zhi)。以(yi)(yi)乘(cheng)其(qi)日(ri)盈(ying)、缩分,如通法(fa)而一(yi),盈(ying)加(jia)、缩减其(qi)副。以(yi)(yi)加(jia)夜(ye)半日(ri)度,各(ge)(ge)得加(jia)时(shi)日(ri)度。
凡(fan)合朔所交(jiao)(jiao),冬在(zai)(zai)(zai)阴(yin)(yin)(yin)(yin)历(li)(li)、夏(xia)(xia)(xia)(xia)在(zai)(zai)(zai)阳(yang)(yang)历(li)(li),月(yue)行(xing)青道(dao)(dao)(dao);冬至(zhi)(zhi)(zhi)(zhi)、夏(xia)(xia)(xia)(xia)至(zhi)(zhi)(zhi)(zhi)后(hou),青道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)春(chun)分(fen)(fen)(fen)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)东(dong)。立(li)(li)冬、立(li)(li)夏(xia)(xia)(xia)(xia)后(hou),青道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)立(li)(li)春(chun)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)东(dong)南。至(zhi)(zhi)(zhi)(zhi)所冲(chong)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),亦(yi)(yi)如(ru)之(zhi)(zhi)(zhi)(zhi)。冬在(zai)(zai)(zai)阳(yang)(yang)历(li)(li)、夏(xia)(xia)(xia)(xia)在(zai)(zai)(zai)阴(yin)(yin)(yin)(yin)历(li)(li),月(yue)行(xing)白道(dao)(dao)(dao);冬至(zhi)(zhi)(zhi)(zhi)、夏(xia)(xia)(xia)(xia)至(zhi)(zhi)(zhi)(zhi)后(hou),白道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)秋(qiu)(qiu)分(fen)(fen)(fen)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)西。立(li)(li)冬、立(li)(li)夏(xia)(xia)(xia)(xia)后(hou),白道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)立(li)(li)秋(qiu)(qiu)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)西北(bei)。至(zhi)(zhi)(zhi)(zhi)所冲(chong)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),亦(yi)(yi)如(ru)之(zhi)(zhi)(zhi)(zhi)。春(chun)在(zai)(zai)(zai)阳(yang)(yang)历(li)(li)、秋(qiu)(qiu)在(zai)(zai)(zai)阴(yin)(yin)(yin)(yin)历(li)(li),月(yue)行(xing)硃(zhu)(zhu)(zhu)道(dao)(dao)(dao);春(chun)分(fen)(fen)(fen)、秋(qiu)(qiu)分(fen)(fen)(fen)后(hou),硃(zhu)(zhu)(zhu)道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)夏(xia)(xia)(xia)(xia)至(zhi)(zhi)(zhi)(zhi)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)南。立(li)(li)春(chun)、立(li)(li)秋(qiu)(qiu)后(hou),硃(zhu)(zhu)(zhu)道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)立(li)(li)夏(xia)(xia)(xia)(xia)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)西南。至(zhi)(zhi)(zhi)(zhi)所冲(chong)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),亦(yi)(yi)如(ru)之(zhi)(zhi)(zhi)(zhi)。春(chun)在(zai)(zai)(zai)阴(yin)(yin)(yin)(yin)历(li)(li),秋(qiu)(qiu)在(zai)(zai)(zai)阳(yang)(yang)历(li)(li),月(yue)行(xing)黑道(dao)(dao)(dao)。春(chun)分(fen)(fen)(fen)、秋(qiu)(qiu)分(fen)(fen)(fen)后(hou),黑道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)冬至(zhi)(zhi)(zhi)(zhi)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)北(bei),立(li)(li)春(chun)、立(li)(li)秋(qiu)(qiu)后(hou),黑道(dao)(dao)(dao)半(ban)(ban)交(jiao)(jiao)在(zai)(zai)(zai)立(li)(li)冬之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),当(dang)(dang)黄(huang)(huang)(huang)道(dao)(dao)(dao)东(dong)北(bei)。至(zhi)(zhi)(zhi)(zhi)所冲(chong)之(zhi)(zhi)(zhi)(zhi)宿(su)(su)(su)(su)(su),亦(yi)(yi)如(ru)之(zhi)(zhi)(zhi)(zhi)。四(si)序(xu)离(li)为(wei)(wei)(wei)(wei)八(ba)节,至(zhi)(zhi)(zhi)(zhi)阴(yin)(yin)(yin)(yin)阳(yang)(yang)之(zhi)(zhi)(zhi)(zhi)所交(jiao)(jiao),皆(jie)与(yu)黄(huang)(huang)(huang)道(dao)(dao)(dao)相会(hui),故(gu)月(yue)有(you)九行(xing)。各视月(yue)交(jiao)(jiao)所入七十(shi)(shi)二(er)(er)候距交(jiao)(jiao)初(chu)中(zhong)黄(huang)(huang)(huang)道(dao)(dao)(dao)日(ri)度(du)(du),每五度(du)(du)为(wei)(wei)(wei)(wei)限,亦(yi)(yi)初(chu)数(shu)十(shi)(shi)二(er)(er),每限减(jian)(jian)一(yi),数(shu)终(zhong)(zhong)于(yu)四(si)、乃一(yi)度(du)(du)强(qiang),依平。更从四(si)起,每限增(zeng)一(yi),终(zhong)(zhong)于(yu)十(shi)(shi)二(er)(er),而(er)至(zhi)(zhi)(zhi)(zhi)半(ban)(ban)交(jiao)(jiao),其(qi)去黄(huang)(huang)(huang)道(dao)(dao)(dao)六度(du)(du)。又自十(shi)(shi)二(er)(er),每限减(jian)(jian)一(yi),数(shu)终(zhong)(zhong)于(yu)四(si),亦(yi)(yi)一(yi)度(du)(du)强(qiang),依平。更从四(si)起,每限增(zeng)一(yi),终(zhong)(zhong)于(yu)十(shi)(shi)二(er)(er),复(fu)与(yu)日(ri)轨相会(hui)。各累计其(qi)数(shu),以(yi)(yi)(yi)(yi)(yi)乘(cheng)限度(du)(du),二(er)(er)百四(si)十(shi)(shi)而(er)一(yi),得(de)度(du)(du)。不满(man)者(zhe),二(er)(er)十(shi)(shi)四(si)除(chu)(chu),为(wei)(wei)(wei)(wei)分(fen)(fen)(fen),若(ruo)以(yi)(yi)(yi)(yi)(yi)二(er)(er)十(shi)(shi)除(chu)(chu)之(zhi)(zhi)(zhi)(zhi),则大分(fen)(fen)(fen),以(yi)(yi)(yi)(yi)(yi)十(shi)(shi)二(er)(er)为(wei)(wei)(wei)(wei)母。为(wei)(wei)(wei)(wei)月(yue)行(xing)与(yu)黄(huang)(huang)(huang)道(dao)(dao)(dao)差(cha)(cha)数(shu)。距半(ban)(ban)交(jiao)(jiao)前(qian)后(hou)各九限,以(yi)(yi)(yi)(yi)(yi)差(cha)(cha)数(shu)为(wei)(wei)(wei)(wei)减(jian)(jian);距正交(jiao)(jiao)前(qian)后(hou)各九限,以(yi)(yi)(yi)(yi)(yi)差(cha)(cha)数(shu)为(wei)(wei)(wei)(wei)加(jia)。此(ci)加(jia)减(jian)(jian)出入六度(du)(du),单与(yu)黄(huang)(huang)(huang)道(dao)(dao)(dao)相较之(zhi)(zhi)(zhi)(zhi)数(shu)。若(ruo)较之(zhi)(zhi)(zhi)(zhi)赤(chi)道(dao)(dao)(dao),则随气(qi)迁变不常。计去冬至(zhi)(zhi)(zhi)(zhi)、夏(xia)(xia)(xia)(xia)至(zhi)(zhi)(zhi)(zhi)以(yi)(yi)(yi)(yi)(yi)来候数(shu),乘(cheng)黄(huang)(huang)(huang)道(dao)(dao)(dao)所差(cha)(cha),十(shi)(shi)八(ba)而(er)一(yi),为(wei)(wei)(wei)(wei)月(yue)行(xing)与(yu)赤(chi)道(dao)(dao)(dao)差(cha)(cha)数(shu)。凡(fan)日(ri)以(yi)(yi)(yi)(yi)(yi)赤(chi)道(dao)(dao)(dao)内为(wei)(wei)(wei)(wei)阴(yin)(yin)(yin)(yin),外(wai)为(wei)(wei)(wei)(wei)阳(yang)(yang);月(yue)以(yi)(yi)(yi)(yi)(yi)黄(huang)(huang)(huang)道(dao)(dao)(dao)内为(wei)(wei)(wei)(wei)阴(yin)(yin)(yin)(yin),外(wai)为(wei)(wei)(wei)(wei)阳(yang)(yang)。故(gu)月(yue)行(xing)宿(su)(su)(su)(su)(su)度(du)(du),入春(chun)分(fen)(fen)(fen)交(jiao)(jiao)后(hou)行(xing)阴(yin)(yin)(yin)(yin)历(li)(li)、秋(qiu)(qiu)分(fen)(fen)(fen)交(jiao)(jiao)后(hou)行(xing)阳(yang)(yang)历(li)(li),皆(jie)为(wei)(wei)(wei)(wei)同名(ming)(ming)。若(ruo)入春(chun)分(fen)(fen)(fen)交(jiao)(jiao)后(hou)行(xing)阳(yang)(yang)历(li)(li)、秋(qiu)(qiu)分(fen)(fen)(fen)交(jiao)(jiao)后(hou)行(xing)阴(yin)(yin)(yin)(yin)历(li)(li),皆(jie)为(wei)(wei)(wei)(wei)异名(ming)(ming)。其(qi)在(zai)(zai)(zai)同名(ming)(ming),以(yi)(yi)(yi)(yi)(yi)差(cha)(cha)数(shu)为(wei)(wei)(wei)(wei)加(jia)者(zhe)加(jia)之(zhi)(zhi)(zhi)(zhi),减(jian)(jian)者(zhe)减(jian)(jian)之(zhi)(zhi)(zhi)(zhi);若(ruo)在(zai)(zai)(zai)异名(ming)(ming),以(yi)(yi)(yi)(yi)(yi)差(cha)(cha)数(shu)为(wei)(wei)(wei)(wei)加(jia)者(zhe)减(jian)(jian)之(zhi)(zhi)(zhi)(zhi),减(jian)(jian)者(zhe)加(jia)之(zhi)(zhi)(zhi)(zhi)。皆(jie)以(yi)(yi)(yi)(yi)(yi)增(zeng)损黄(huang)(huang)(huang)道(dao)(dao)(dao)度(du)(du),为(wei)(wei)(wei)(wei)九道(dao)(dao)(dao)定(ding)度(du)(du)。
各(ge)以(yi)中气(qi)(qi)去(qu)经朔日(ri)算(suan)(suan),加其入交(jiao)(jiao)泛,乃以(yi)减交(jiao)(jiao)终(zhong),得平交(jiao)(jiao)入中气(qi)(qi)日(ri)算(suan)(suan)。满(man)(man)三元之(zhi)(zhi)策去(qu)之(zhi)(zhi),余得入后(hou)节日(ri)算(suan)(suan)。因求次交(jiao)(jiao)者,以(yi)交(jiao)(jiao)终(zhong)加之(zhi)(zhi),满(man)(man)三元之(zhi)(zhi)策去(qu)之(zhi)(zhi),得后(hou)平交(jiao)(jiao)入气(qi)(qi)日(ri)算(suan)(suan)。
各以(yi)(yi)气(qi)初先(xian)后数(shu)(shu)先(xian)加、后减之,得(de)平交入定(ding)(ding)气(qi)日算。倍六(liu)爻乘(cheng)之,三其小余,辰法(fa)除而(er)从(cong)之,以(yi)(yi)乘(cheng)其气(qi)损益(yi)(yi)率,如定(ding)(ding)气(qi)辰数(shu)(shu)而(er)一,所得(de)以(yi)(yi)损益(yi)(yi)其气(qi)朓朒积,为定(ding)(ding)数(shu)(shu)。
又(you)置(zhi)平(ping)交(jiao)(jiao)所(suo)入(ru)(ru)定(ding)(ding)(ding)(ding)气(qi)余(yu)(yu),加(jia)其(qi)日(ri)(ri)(ri)夜(ye)半入(ru)(ru)转余(yu)(yu),以(yi)(yi)(yi)乘(cheng)(cheng)其(qi)日(ri)(ri)(ri)损(sun)益率(lv),满通(tong)法(fa)(fa)而(er)(er)(er)一,以(yi)(yi)(yi)损(sun)益其(qi)日(ri)(ri)(ri)朓(tiao)朒积(ji),交(jiao)(jiao)率(lv)乘(cheng)(cheng)之(zhi),交(jiao)(jiao)数(shu)(shu)而(er)(er)(er)一,为(wei)定(ding)(ding)(ding)(ding)数(shu)(shu)。乃(nai)以(yi)(yi)(yi)入(ru)(ru)气(qi)入(ru)(ru)转朓(tiao)朒定(ding)(ding)(ding)(ding)数(shu)(shu),朓(tiao)减(jian)、朒加(jia)平(ping)交(jiao)(jiao)入(ru)(ru)气(qi)余(yu)(yu),满若(ruo)不足(zu),进退(tui)日(ri)(ri)(ri)算,为(wei)正(zheng)交(jiao)(jiao)入(ru)(ru)定(ding)(ding)(ding)(ding)气(qi)日(ri)(ri)(ri)算。其(qi)入(ru)(ru)定(ding)(ding)(ding)(ding)气(qi)余(yu)(yu),副(fu)之(zhi),乘(cheng)(cheng)其(qi)日(ri)(ri)(ri)盈缩分,满通(tong)法(fa)(fa)而(er)(er)(er)一,以(yi)(yi)(yi)盈加(jia)、缩减(jian)其(qi)副(fu),以(yi)(yi)(yi)加(jia)其(qi)日(ri)(ri)(ri)夜(ye)半日(ri)(ri)(ri)度(du),得正(zheng)交(jiao)(jiao)加(jia)时黄(huang)道日(ri)(ri)(ri)度(du)。以(yi)(yi)(yi)正(zheng)交(jiao)(jiao)加(jia)时度(du)余(yu)(yu)减(jian)通(tong)法(fa)(fa),余(yu)(yu)以(yi)(yi)(yi)正(zheng)交(jiao)(jiao)之(zhi)宿距度(du)所(suo)入(ru)(ru)限数(shu)(shu)乘(cheng)(cheng)之(zhi),为(wei)距前分。置(zhi)距度(du)下月道与黄(huang)道差(cha),以(yi)(yi)(yi)通(tong)法(fa)(fa)乘(cheng)(cheng)之(zhi),减(jian)去(qu)距前分,余(yu)(yu)满二百四十除,为(wei)定(ding)(ding)(ding)(ding)差(cha);不满者一退(tui)为(wei)秒。以(yi)(yi)(yi)定(ding)(ding)(ding)(ding)差(cha)及秒加(jia)黄(huang)道度(du)、余(yu)(yu),仍计去(qu)冬至、夏至已来候数(shu)(shu)乘(cheng)(cheng)定(ding)(ding)(ding)(ding)差(cha),十八而(er)(er)(er)一,所(suo)得依名同异而(er)(er)(er)加(jia)减(jian)之(zhi),满若(ruo)不足(zu),进退(tui)其(qi)度(du),得正(zheng)交(jiao)(jiao)加(jia)时月离九道宿度(du)。
各置(zhi)定朔(shuo)、弦、望加(jia)(jia)时(shi)(shi)日(ri)(ri)(ri)度(du),从九(jiu)道(dao)(dao)(dao)(dao)循(xun)次(ci)相加(jia)(jia)。凡合朔(shuo)加(jia)(jia)时(shi)(shi),月(yue)行潜在(zai)日(ri)(ri)(ri)下,与(yu)太(tai)阳同(tong)(tong)度(du),是谓离象(xiang)(xiang)。先置(zhi)朔(shuo)、弦、望加(jia)(jia)时(shi)(shi)黄(huang)道(dao)(dao)(dao)(dao)日(ri)(ri)(ri)度(du),以(yi)(yi)正交(jiao)加(jia)(jia)时(shi)(shi)所在(zai)黄(huang)道(dao)(dao)(dao)(dao)宿(su)(su)度(du)减之,余以(yi)(yi)加(jia)(jia)其(qi)正交(jiao)九(jiu)道(dao)(dao)(dao)(dao)宿(su)(su)度(du),命起正交(jiao)宿(su)(su)度(du)算外(wai),即朔(shuo)、弦、望加(jia)(jia)时(shi)(shi)所当九(jiu)道(dao)(dao)(dao)(dao)宿(su)(su)度(du)也。其(qi)合朔(shuo)加(jia)(jia)时(shi)(shi),若(ruo)非正交(jiao),则日(ri)(ri)(ri)在(zai)黄(huang)道(dao)(dao)(dao)(dao),月(yue)在(zai)九(jiu)道(dao)(dao)(dao)(dao),各入宿(su)(su)度(du)虽多少(shao)不同(tong)(tong),考(kao)其(qi)去(qu)极,若(ruo)应绳(sheng)准(zhun)。故云:月(yue)行潜在(zai)日(ri)(ri)(ri)下,与(yu)太(tai)阳同(tong)(tong)度(du)。以(yi)(yi)一象(xiang)(xiang)之度(du)九(jiu)十(shi)一、余九(jiu)百五十(shi)四(si)、秒(miao)二(er)十(shi)二(er)半为(wei)上弦,兑象(xiang)(xiang)。倍(bei)之,而(er)与(yu)日(ri)(ri)(ri)冲,得望,坎象(xiang)(xiang)。参(can)之,得下弦,震(zhen)象(xiang)(xiang)。各以(yi)(yi)加(jia)(jia)其(qi)所当九(jiu)道(dao)(dao)(dao)(dao)宿(su)(su)度(du),秒(miao)盈象(xiang)(xiang)统从余,余满通法从度(du),得其(qi)日(ri)(ri)(ri)加(jia)(jia)时(shi)(shi)月(yue)度(du)。综五位成数四(si)十(shi),以(yi)(yi)约度(du)余,为(wei)分(fen)(fen);不尽者(zhe),因为(wei)小分(fen)(fen)。
视经朔(shuo)(shuo)夜半(ban)入(ru)转(zhuan)(zhuan),若定朔(shuo)(shuo)大余(yu)(yu)有(you)进退(tui)者,亦加、减转(zhuan)(zhuan)日(ri)。否则因经朔(shuo)(shuo)为定。累加一日(ri),得次日(ri),各以(yi)夜半(ban)入(ru)转(zhuan)(zhuan)余(yu)(yu)乘(cheng)列(lie)衰,如通法而(er)一,所得以(yi)进加、退(tui)减其日(ri)转(zhuan)(zhuan)分(fen),为月(yue)转(zhuan)(zhuan)定分(fen)。满转(zhuan)(zhuan)法,为度。
视定朔、弦、望夜半(ban)入转(zhuan)(zhuan)(zhuan),各半(ban)列(lie)衰(shuai)以(yi)(yi)减(jian)转(zhuan)(zhuan)(zhuan)分(fen)(fen)。退者(zhe),定余乘衰(shuai),以(yi)(yi)通(tong)法除(chu)(chu),并(bing)衰(shuai)而半(ban)之;进(jin)者(zhe),半(ban)余乘衰(shuai),亦以(yi)(yi)通(tong)法除(chu)(chu):皆加(jia)所减(jian)。乃(nai)以(yi)(yi)定余乘之,盈通(tong)法得一,以(yi)(yi)减(jian)加(jia)时月度,为夜半(ban)月度。各以(yi)(yi)每(mei)日(ri)转(zhuan)(zhuan)(zhuan)定分(fen)(fen)累(lei)加(jia)之,得次日(ri)。若以(yi)(yi)入转(zhuan)(zhuan)(zhuan)定分(fen)(fen),乘其(qi)日(ri)夜漏,倍(bei)百刻除(chu)(chu),为晨(chen)分(fen)(fen)。以(yi)(yi)减(jian)转(zhuan)(zhuan)(zhuan)定分(fen)(fen),余为昏分(fen)(fen)。望前(qian)以(yi)(yi)昏、望后以(yi)(yi)晨(chen)加(jia)夜半(ban)度,各得晨(chen)、昏月。
各(ge)视每(mei)日夜半入阴阳历交日数,以(yi)其(qi)下屈伸积(ji),月道与黄(huang)道同名者,加之;异名者,减之。各(ge)以(yi)加、减每(mei)日辰(chen)昏黄(huang)道月度(du),为入宿定度(du)及分。
○五曰步轨漏术
爻统千五百二十。
象积四百八十。
辰八刻百六十分。
昏(hun)、明二(er)刻二(er)百四十分。
各置其气消息衰(shuai),依定气所有日(ri)(ri)(ri)(ri)(ri)(ri),每(mei)(mei)以(yi)陟(zhi)降(jiang)(jiang)率(lv)陟(zhi)减、降(jiang)(jiang)加其分,满百(bai)从(cong)衰(shuai),各得(de)每(mei)(mei)日(ri)(ri)(ri)(ri)(ri)(ri)消息定衰(shuai)。其距(ju)二分前后(hou)各一(yi)(yi)(yi)气之外,陟(zhi)、降(jiang)(jiang)不(bu)等(deng),皆以(yi)三(san)(san)日(ri)(ri)(ri)(ri)(ri)(ri)为(wei)限(xian)(xian)(xian)(xian)。雨水(shui)初(chu)(chu)日(ri)(ri)(ri)(ri)(ri)(ri),降(jiang)(jiang)七十八(ba)(ba);初(chu)(chu)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)十二;次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)八(ba)(ba);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)三(san)(san);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)二;次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)后(hou)。清明初(chu)(chu)日(ri)(ri)(ri)(ri)(ri)(ri),陟(zhi)一(yi)(yi)(yi);初(chu)(chu)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)一(yi)(yi)(yi);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)二;次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)三(san)(san);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)八(ba)(ba);末限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)十九。处暑初(chu)(chu)日(ri)(ri)(ri)(ri)(ri)(ri),降(jiang)(jiang)九十九;初(chu)(chu)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)十九;次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)八(ba)(ba);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)三(san)(san);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)二;末限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)损(sun)(sun)(sun)一(yi)(yi)(yi)。寒露初(chu)(chu)日(ri)(ri)(ri)(ri)(ri)(ri),陟(zhi)一(yi)(yi)(yi);初(chu)(chu)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)一(yi)(yi)(yi);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)二;次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)三(san)(san);次(ci)限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)八(ba)(ba);末限(xian)(xian)(xian)(xian),日(ri)(ri)(ri)(ri)(ri)(ri)益(yi)(yi)(yi)十二。各置初(chu)(chu)日(ri)(ri)(ri)(ri)(ri)(ri)陟(zhi)降(jiang)(jiang)率(lv),依限(xian)(xian)(xian)(xian)次(ci)损(sun)(sun)(sun)益(yi)(yi)(yi)之,为(wei)每(mei)(mei)日(ri)(ri)(ri)(ri)(ri)(ri)率(lv)。乃递以(yi)陟(zhi)减、降(jiang)(jiang)加气初(chu)(chu)消息衰(shuai),各得(de)每(mei)(mei)日(ri)(ri)(ri)(ri)(ri)(ri)定衰(shuai)。
南方戴日之(zhi)下,正中无晷(gui)。自戴日之(zhi)北一(yi)度(du)(du)(du)(du)(du)(du),乃(nai)初(chu)数千(qian)三(san)百七(qi)十(shi)(shi)(shi)(shi)(shi)九(jiu)(jiu)。自此起差(cha)(cha),每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)一(yi),终(zhong)(zhong)于二(er)十(shi)(shi)(shi)(shi)(shi)五(wu)度(du)(du)(du)(du)(du)(du),计增(zeng)(zeng)(zeng)(zeng)二(er)十(shi)(shi)(shi)(shi)(shi)六(liu)(liu)(liu)分(fen)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)二(er),终(zhong)(zhong)于四(si)十(shi)(shi)(shi)(shi)(shi)度(du)(du)(du)(du)(du)(du)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)六(liu)(liu)(liu),终(zhong)(zhong)于四(si)十(shi)(shi)(shi)(shi)(shi)四(si)度(du)(du)(du)(du)(du)(du),增(zeng)(zeng)(zeng)(zeng)六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)八。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)二(er),终(zhong)(zhong)于五(wu)十(shi)(shi)(shi)(shi)(shi)度(du)(du)(du)(du)(du)(du)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)七(qi),终(zhong)(zhong)于五(wu)十(shi)(shi)(shi)(shi)(shi)五(wu)度(du)(du)(du)(du)(du)(du)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)十(shi)(shi)(shi)(shi)(shi)九(jiu)(jiu),终(zhong)(zhong)于六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)度(du)(du)(du)(du)(du)(du),增(zeng)(zeng)(zeng)(zeng)百六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)三(san)十(shi)(shi)(shi)(shi)(shi)三(san),终(zhong)(zhong)于六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)五(wu)度(du)(du)(du)(du)(du)(du)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)三(san)十(shi)(shi)(shi)(shi)(shi)六(liu)(liu)(liu),终(zhong)(zhong)于七(qi)十(shi)(shi)(shi)(shi)(shi)度(du)(du)(du)(du)(du)(du)。又(you)(you)每(mei)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)三(san)十(shi)(shi)(shi)(shi)(shi)九(jiu)(jiu),终(zhong)(zhong)于七(qi)十(shi)(shi)(shi)(shi)(shi)二(er)度(du)(du)(du)(du)(du)(du),增(zeng)(zeng)(zeng)(zeng)二(er)百六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)。又(you)(you)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)四(si)百四(si)十(shi)(shi)(shi)(shi)(shi)。又(you)(you)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)千(qian)六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)。又(you)(you)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)千(qian)八百六(liu)(liu)(liu)十(shi)(shi)(shi)(shi)(shi)。又(you)(you)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)二(er)千(qian)八百四(si)十(shi)(shi)(shi)(shi)(shi)。又(you)(you)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)四(si)千(qian)。又(you)(you)度(du)(du)(du)(du)(du)(du)增(zeng)(zeng)(zeng)(zeng)五(wu)千(qian)三(san)百四(si)十(shi)(shi)(shi)(shi)(shi)。各(ge)为(wei)每(mei)度(du)(du)(du)(du)(du)(du)差(cha)(cha)。因累其差(cha)(cha),以递加初(chu)数,满百为(wei)分(fen),分(fen)十(shi)(shi)(shi)(shi)(shi)为(wei)寸,各(ge)为(wei)每(mei)度(du)(du)(du)(du)(du)(du)晷(gui)差(cha)(cha)。又(you)(you)累其晷(gui)差(cha)(cha),得(de)戴日之(zhi)北每(mei)度(du)(du)(du)(du)(du)(du)晷(gui)数。
各置其气(qi)去极度(du),以(yi)极去戴日(ri)度(du)五(wu)十(shi)六(liu)及分(fen)八(ba)十(shi)二半减(jian)之,得(de)戴日(ri)之北度(du)数(shu)。各以(yi)其消息定(ding)衰(shuai)所(suo)直度(du)之晷(gui)(gui)(gui)差,满百为分(fen),分(fen)十(shi)为寸,得(de)每日(ri)晷(gui)(gui)(gui)差。乃递以(yi)息减(jian)、消加其气(qi)初晷(gui)(gui)(gui)数(shu),得(de)每日(ri)中晷(gui)(gui)(gui)常数(shu)。
以(yi)(yi)(yi)其日处在(zai)气(qi)定(ding)小余(yu)(yu),爻(yao)统减(jian)(jian)(jian)之,余(yu)(yu)为(wei)(wei)中后(hou)(hou)分(fen)。不足减(jian)(jian)(jian),反(fan)相减(jian)(jian)(jian),为(wei)(wei)中前分(fen)。以(yi)(yi)(yi)其晷差(cha)(cha)乘(cheng)之,如通法(fa)而一,为(wei)(wei)变差(cha)(cha)。以(yi)(yi)(yi)加、减(jian)(jian)(jian)中晷常(chang)数,冬至(zhi)后(hou)(hou),中前以(yi)(yi)(yi)差(cha)(cha)减(jian)(jian)(jian),中后(hou)(hou)以(yi)(yi)(yi)差(cha)(cha)加;夏至(zhi)后(hou)(hou),中前以(yi)(yi)(yi)差(cha)(cha)加,中后(hou)(hou)以(yi)(yi)(yi)差(cha)(cha)减(jian)(jian)(jian)。冬至(zhi)一日,有减(jian)(jian)(jian)无加;夏至(zhi)一日,有加无减(jian)(jian)(jian)。得每(mei)日中晷定(ding)数。
又置(zhi)消息定衰,满象(xiang)积(ji)为(wei)刻,不满为(wei)分。各(ge)递(di)以息减、消加其气初(chu)夜半漏,得每日夜半漏定数(shu)。其全(quan)刻,以九千一百二十乘(cheng)之,十九乘(cheng)刻分从之,如三百而(er)一,为(wei)晨初(chu)余(yu)数(shu)。
各倍(bei)夜(ye)(ye)(ye)半(ban)漏,为(wei)夜(ye)(ye)(ye)刻(ke)(ke)(ke)。以(yi)(yi)减百刻(ke)(ke)(ke),余为(wei)昼刻(ke)(ke)(ke)。减昼五(wu)刻(ke)(ke)(ke)以(yi)(yi)加夜(ye)(ye)(ye),即昼为(wei)见(jian)刻(ke)(ke)(ke),夜(ye)(ye)(ye)为(wei)没(mei)刻(ke)(ke)(ke)。半(ban)没(mei)刻(ke)(ke)(ke)加半(ban)辰(chen)(chen),起(qi)子初(chu)算外,得(de)日(ri)出辰(chen)(chen)刻(ke)(ke)(ke)。以(yi)(yi)见(jian)刻(ke)(ke)(ke)加而(er)命(ming)之(zhi),得(de)日(ri)入(ru)。置夜(ye)(ye)(ye)刻(ke)(ke)(ke),五(wu)而(er)一,得(de)每更(geng)(geng)差刻(ke)(ke)(ke)。又(you)五(wu)除之(zhi),得(de)每筹(chou)(chou)差刻(ke)(ke)(ke)。以(yi)(yi)昏刻(ke)(ke)(ke)加日(ri)入(ru)辰(chen)(chen)刻(ke)(ke)(ke),得(de)甲夜(ye)(ye)(ye)初(chu)刻(ke)(ke)(ke)。又(you)以(yi)(yi)更(geng)(geng)筹(chou)(chou)差加之(zhi),得(de)五(wu)夜(ye)(ye)(ye)更(geng)(geng)筹(chou)(chou)所(suo)当辰(chen)(chen)。其夜(ye)(ye)(ye)半(ban)定漏,亦名(ming)晨初(chu)夜(ye)(ye)(ye)刻(ke)(ke)(ke)。
又置消息定衰,满(man)百为度,不满(man)为分。各递以(yi)息减、消加气初(chu)去极度,各得每日去极定数(shu)。
又置消(xiao)息定衰,以(yi)万二千三百八十六(liu)(liu)乘之(zhi),如万六(liu)(liu)千二百七(qi)(qi)十七(qi)(qi)而一,为(wei)度(du)差(cha)。差(cha)满百为(wei)度(du)。各递以(yi)息加、消(xiao)减(jian)(jian)其气初距中度(du),得每日距中度(du)定数。倍(bei)之(zhi),以(yi)减(jian)(jian)周天,为(wei)距子度(du)。
置(zhi)其日赤道日度(du),加(jia)(jia)距中度(du),得(de)昏中星(xing)(xing)(xing)。倍距子度(du),以(yi)加(jia)(jia)昏中星(xing)(xing)(xing),得(de)晓中星(xing)(xing)(xing)。命昏中星(xing)(xing)(xing)为甲夜(ye)中星(xing)(xing)(xing),加(jia)(jia)每更差度(du),得(de)五夜(ye)中星(xing)(xing)(xing)。
凡(fan)九服(fu)所在,每(mei)气(qi)(qi)初日(ri)中晷(gui)常数(shu)(shu)(shu)(shu)不齐(qi)。使每(mei)气(qi)(qi)去(qu)极度数(shu)(shu)(shu)(shu)相(xiang)减(jian),各(ge)为其(qi)(qi)(qi)气(qi)(qi)消(xiao)(xiao)息(xi)(xi)定数(shu)(shu)(shu)(shu)。因(yin)(yin)测其(qi)(qi)(qi)地(di)二至(zhi)日(ri)晷(gui),测一至(zhi)可矣,不必兼要冬夏。于其(qi)(qi)(qi)戴(dai)日(ri)之北每(mei)度晷(gui)数(shu)(shu)(shu)(shu)中,较取长(zhang)短(duan)同者(zhe),以为其(qi)(qi)(qi)地(di)戴(dai)日(ri)北度数(shu)(shu)(shu)(shu)及分。每(mei)气(qi)(qi)各(ge)以消(xiao)(xiao)息(xi)(xi)定数(shu)(shu)(shu)(shu)加减(jian)之,因(yin)(yin)冬至(zhi)后(hou)者(zhe),每(mei)气(qi)(qi)以减(jian)。因(yin)(yin)夏至(zhi)后(hou)者(zhe),每(mei)气(qi)(qi)以加。得每(mei)气(qi)(qi)戴(dai)日(ri)北度数(shu)(shu)(shu)(shu)。各(ge)因(yin)(yin)所直度分之晷(gui)数(shu)(shu)(shu)(shu),为其(qi)(qi)(qi)地(di)每(mei)定气(qi)(qi)初日(ri)中晷(gui)常数(shu)(shu)(shu)(shu)。其(qi)(qi)(qi)测晷(gui)有在表南者(zhe),亦(yi)据其(qi)(qi)(qi)晷(gui)尺寸长(zhang)短(duan)与(yu)戴(dai)日(ri)北每(mei)度晷(gui)数(shu)(shu)(shu)(shu)同者(zhe),因(yin)(yin)取其(qi)(qi)(qi)所直之度,去(qu)戴(dai)日(ri)北度数(shu)(shu)(shu)(shu)。反之,为去(qu)戴(dai)日(ri)南度。然后(hou)以消(xiao)(xiao)息(xi)(xi)定数(shu)(shu)(shu)(shu)加减(jian)之。
二至各(ge)于(yu)其地下水漏(lou)以定(ding)当处昼(zhou)(zhou)夜(ye)刻(ke)(ke)数(shu)(shu)。乃相减(jian),为冬(dong)、夏至差(cha)(cha)刻(ke)(ke)。半之,以加、减(jian)二至昼(zhou)(zhou)夜(ye)刻(ke)(ke)数(shu)(shu),为定(ding)春、秋分初日(ri)昼(zhou)(zhou)夜(ye)刻(ke)(ke)数(shu)(shu)。乃置每(mei)气消息定(ding)数(shu)(shu)。以当处差(cha)(cha)刻(ke)(ke)数(shu)(shu)乘之,如二至去极差(cha)(cha)度四十(shi)(shi)七(qi)分,八(ba)十(shi)(shi)而一,所得依(yi)分前、后加、减(jian)初日(ri)昼(zhou)(zhou)夜(ye)漏(lou)刻(ke)(ke),各(ge)得余定(ding)气初日(ri)昼(zhou)(zhou)夜(ye)漏(lou)刻(ke)(ke)。
置(zhi)每(mei)日(ri)消(xiao)息(xi)定(ding)衰(shuai),亦以(yi)(yi)(yi)差刻(ke)(ke)乘之(zhi),差度而一,所得(de)以(yi)(yi)(yi)息(xi)减、消(xiao)加(jia)其(qi)(qi)气(qi)初漏刻(ke)(ke),得(de)次(ci)日(ri)。其(qi)(qi)求(qiu)距(ju)中度及(ji)昏明中星日(ri)出入(ru),皆依阳城(cheng)(cheng)法求(qiu)之(zhi)。仍以(yi)(yi)(yi)差刻(ke)(ke)乘之(zhi),差度而一,为(wei)(wei)今有之(zhi)数(shu)。若置(zhi)其(qi)(qi)地春(chun)、秋(qiu)定(ding)日(ri)中晷常(chang)数(shu)与阳城(cheng)(cheng)每(mei)日(ri)晷数(shu),较(jiao)其(qi)(qi)同者,因其(qi)(qi)日(ri)夜半(ban)漏亦为(wei)(wei)其(qi)(qi)地定(ding)春(chun)、秋(qiu)分(fen)初日(ri)夜半(ban)漏。求(qiu)余定(ding)气(qi)初日(ri),亦以(yi)(yi)(yi)消(xiao)息(xi)定(ding)数(shu)依分(fen)前、后加(jia)、减刻(ke)(ke)分(fen),春(chun)分(fen)后以(yi)(yi)(yi)减,秋(qiu)分(fen)后以(yi)(yi)(yi)加(jia)。满(man)象(xiang)积(ji)为(wei)(wei)刻(ke)(ke)。求(qiu)次(ci)日(ri),亦以(yi)(yi)(yi)消(xiao)息(xi)定(ding)衰(shuai),依阳城(cheng)(cheng)术求(qiu)之(zhi)。此术究理,大(da)体合通。然高山平川(chuan),视(shi)日(ri)不等。较(jiao)其(qi)(qi)日(ri)晷,长短乃同。考其(qi)(qi)水漏,多少殊(shu)别(bie)。以(yi)(yi)(yi)兹参(can)课,前术为(wei)(wei)审(shen)。
更多有关新唐书 二十四史 的资料