From 9fd519d0ff7b47c1299cc3898f65ed0aef8d290d Mon Sep 17 00:00:00 2001 From: oliviasaa Date: Mon, 18 Mar 2024 12:16:31 +0000 Subject: [PATCH] minor updates in the decay function explanation --- tips/TIP-0039/tip-0039.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tips/TIP-0039/tip-0039.md b/tips/TIP-0039/tip-0039.md index 1fb8792bd..24dc73f4e 100644 --- a/tips/TIP-0039/tip-0039.md +++ b/tips/TIP-0039/tip-0039.md @@ -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 2Decay Factors ExponentDecay per Epochn, 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