Dealing with very small numbers in R

后端 未结 4 1252
花落未央
花落未央 2020-12-09 11:02

I need to calculate a list of very small numbers such as

(0.1)^1000, 0.2^(1200),

and then normalize them so they will sum up to one i.e.

a1 = 0.1^

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-09 11:26

    Try the arbitrary precision package mpfr.

    Ryacas may also be able to do arbitrary precision.

提交回复
热议问题