《晋书·志·第七章》
以所求夜半盈缩除以章岁十九，所得商数为盈缩度数，余数为盈缩分数，以通数三十一乘以上所得盈缩分数及盈缩余数，通敷与盈缩余数的乘积除以周法五千九百六十九，所得加上通数与盈缩分数的乘积，如果其和大于等于纪法五百八十九，则减之，盈缩度数加一，最后得到盈缩校正度分，盈加缩减当天夜半平度分。即为定度分。
满章岁为度，不尽为分。通数乘分及余，余如周法从分，分满纪法从度，以盈加缩减本夜半度及余，为定度。
Divide the increase or decrease at half-night with 19 years of Zhang age, the result is the degree of increase or decrease, the remainder is the fraction of increase or decrease, multiply the fraction of increase or decrease and the remainder of increase or decrease by general number 31, divide the product of the common number and the remainder of increase or decrease by Zhou method 5969, add the result with the product of general number and the fraction of increase or decrease, if the sum is larger than or equal to Ji Method 589, subtract it, add one to the fraction of increase or decrease, finally get the corrected degree and fraction of increase or decrease, add or subtract from the half-night flat degree of the day. This is the setting degree.