File talk:TDP single precise formula.png: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
https://www.codecogs.com/eqnedit.php
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)
NextStat.TDPcost = current \times [3|15] + racial \times floor\left( \frac{current}{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)
<code>https ://latex.codecogs.com/png.image?\tiny&space;\dpi{300}\bg{white}NextStat_{TDPcost}&space;=&space;current&space;\times&space;[3|15]&space;&plus;&space;racial&space;\times&space;floor\left(&space;\frac{current}{2}&space;\right&space;)</code>
Thanks to Theobault for assisting in figuring this out!


yes, it's dumb we have to mul 10, then div 10 then floor, but remember GSL core is all integer math!
--[[User:SAUVA|SAUVA]] ([[User talk:SAUVA|talk]]) 09:26, 24 October 2022 (CDT)
--[[User:SAUVA|SAUVA]] ([[User talk:SAUVA|talk]]) 09:26, 24 October 2022 (CDT)

Latest revision as of 11:33, 24 October 2022

https://www.codecogs.com/eqnedit.php

NextStat.TDPcost = current \times [3|15] + racial \times floor\left( \frac{current}{2} \right )

https ://latex.codecogs.com/png.image?\tiny&space;\dpi{300}\bg{white}NextStat_{TDPcost}&space;=&space;current&space;\times&space;[3|15]&space;+&space;racial&space;\times&space;floor\left(&space;\frac{current}{2}&space;\right&space;) Thanks to Theobault for assisting in figuring this out!

--SAUVA (talk) 09:26, 24 October 2022 (CDT)