OSC uses decimal place in the admin/local setting to set the truncation.
The problem often occurs are truncation after multiplication or multiplication after truncation.
All product must be priced at one currency, typically USD.
An item purchase is calculated as truncation after multiplication (good). However, when multiple items are summed up, the final price is summed in USD and then translated into TWD.
The result is different with the summation of prices in TWD.
to avoid this, we need to align the precision of product. For example, if we set the decimal place to USD is 2, then at most we can set the decimal place of TWD to 2 and the currency exchange rate to be 31.12. Please do no set higher currency precision. The truncation will screw up the total calculation.
2008年6月29日 星期日
2008年6月5日 星期四
Adaptive wimax CTC
Wimax 16e uses Convolutional code (CC) as a Turbo code base (TC). Adaptive CTC miminizes the calculation time by checking the converging condition. The condition can be determined by CC self-consistent condition.
As alpha(i, ab, t) represents the likelihood ratio of the finite state i at the value ab at time t, we can check the maximum likelihood value of alpha(i) at time 0. In the next iteration, if the ML alpha does not change, then CTC converges.
like[i] calculates the likelihood of ab=i at the current step. like[i] sums over all state transition with ab = i. So LLR is expressed as MaxStar.
As alpha(i, ab, t) represents the likelihood ratio of the finite state i at the value ab at time t, we can check the maximum likelihood value of alpha(i) at time 0. In the next iteration, if the ML alpha does not change, then CTC converges.
like[i] calculates the likelihood of ab=i at the current step. like[i] sums over all state transition with ab = i. So LLR is expressed as MaxStar.
訂閱:
文章 (Atom)