《太平广记·卷二百一十五·算术》
唐玄宗将他召入光大殿改写历书，后来又移住在丽正殿，跟翰林学士们一起检验校核。
玄宗诏于光大殿改撰历经。后又移就丽正殿，与学士参校。
Emperor Xuanzong of Tang invited him to Guangda Hall to rewrite the calendar, and later moved him to Lizheng Hall to check and verify the calendar with the Hanlin Academy.