Skip to content

Commit

Permalink
minor updates in the decay function explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviasaa committed Mar 18, 2024
1 parent 9a64af2 commit 9fd519d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tips/TIP-0039/tip-0039.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ thus, its definition is explained here just for the sake of clarification. The v

The lookup table is an integer approximation of <code>2<sup>Decay Factors Exponent</sup>Decay per
Epoch<sup>n</sup></code>, for different values of `n` ranging from 1 to `Decay Factors Length`.
To obtain the decayed value of a certain amont of Mana `M` after `n` epochs has been passed, one should multiply
In general lines, to obtain the decayed value of a certain amont of Mana `M` after `n` epochs has been passed, the basic idea is to multiply
`M` by the entry of `Mana Parameters::Decay Factors` relative to `n` and then execute a right shift of `Decay Factors Exponent` bits.
However, in some cases, a slighly more complex algorithm must be used, which we define in the next section.

### Decay Function

Expand Down

0 comments on commit 9fd519d

Please sign in to comment.