File talk:TDP single precise formula.png: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
TDPs = floor\left(\frac{current\left([30|150]+\frac{racial \times 10}{2}\right)}{10} - (current \times racial)\bmod 2 \right) |
TDPs = floor\left(\frac{current\left([30|150]+\frac{racial \times 10}{2}\right)}{10} - (current \times racial)\bmod 2 \right) |
||
https://latex.codecogs.com/png.image?\tiny&space;\dpi{300}\bg{white}TDPs&space;=&space;floor\left(\frac{current\left([30|150]+\frac{racial&space;\times&space;10}{2}\right)}{10}&space;-&space;(current&space;\times&space;racial)\bmod&space;2&space;\right) |
[https://latex.codecogs.com/png.image?\tiny&space;\dpi{300}\bg{white}TDPs&space;=&space;floor\left(\frac{current\left([30|150]+\frac{racial&space;\times&space;10}{2}\right)}{10}&space;-&space;(current&space;\times&space;racial)\bmod&space;2&space;\right)] |
||
yes, it's dumb we have to mul 10, then div 10 then floor, but remember GSL core is all integer math! |
yes, it's dumb we have to mul 10, then div 10 then floor, but remember GSL core is all integer math! |
Revision as of 08:27, 24 October 2022
https://www.codecogs.com/eqnedit.php
TDPs = floor\left(\frac{current\left([30|150]+\frac{racial \times 10}{2}\right)}{10} - (current \times racial)\bmod 2 \right)
[30|150+\frac{racial&space;\times&space;10}{2}\right)}{10}&space;-&space;(current&space;\times&space;racial)\bmod&space;2&space;\right)]
yes, it's dumb we have to mul 10, then div 10 then floor, but remember GSL core is all integer math! --SAUVA (talk) 09:26, 24 October 2022 (CDT)