File talk:TDP single precise formula.png

From Elanthipedia
Revision as of 08:26, 24 October 2022 by SAUVA (talk | contribs)
Jump to navigation Jump to search

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)

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! --SAUVA (talk) 09:26, 24 October 2022 (CDT)