看了讨论,那就是连分式了。
比如对于double类型的数据,可以化为连分式:
https://github.com/nilnul/nilnul.num._quotient_._LIB_/blob/nilnul-pub/nilnul0/num/integer/str_/started_/nonhead8positive/fractile/of_/dbl_/approx_/_ByIndexX.cs
然后连分式可以化为所求。
【 在 AGust2022 的大作中提到: 】
: 看你的角度,pi还算呢
:
--
FROM 183.95.135.*