Function forest_filecoin::blocks::election_proof::expneg
source ยท fn expneg(x: &BigInt) -> BigInt
Expand description
expneg
accepts x in Q.256 format and computes e^-x.
It is most precise within [0, 1.725) range, where error is less than
3.4e-30. Over the [0, 5) range its error is less than 4.6e-15.
Output is in Q.256 format.