<table><tr><td style="">iasensio created this revision.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />iasensio requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23103">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Add decibel power units (dBW and mulitples)</p>
<p>Decibel power units are widely used in the fields of signal trasnmission and radiofrequency. <br />
This patch adds decibel units to the Power category (dBm, dbW, dBµW and dBk).</p>
<p>The decibel calculation might be also interesting to other categories such as voltage or pressure (acoustics)</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Check the units of the power category on krunner</li>
<li class="remarkup-list-item">The reference unit: 1W = 0dBW = 30dBm = 60dBµW = -30dBk</li>
<li class="remarkup-list-item">The decibel is a logarithmic scale so multiplying on natural units implies addition in decibel units:</li>
</ul>
<p>10W = 10dBW = 40dBm = 70dBµW = -20dBk</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R292 KUnitConversion</div></div></div><br /><div><strong>BRANCH</strong><div><div>log_power_units</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23103">https://phabricator.kde.org/D23103</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/power.cpp<br />
src/unit.h</div></div></div><br /><div><strong>To: </strong>iasensio<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns<br /></div>