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

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
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)
TDPs = current \times [3|15] + racial \times floor\left( \frac{current}{2} \right )


<code>https: //latex.codecogs.com/png.image?\tiny&space;\dpi{300}\bg{white}TDPs&space;=&space;floor\left(\frac{current\left([30|150]&plus;\frac{racial&space;\times&space;10}{2}\right)}{10}&space;-&space;(current&space;\times&space;racial)\bmod&space;2&space;\right)</code>
<code>https ://latex.codecogs.com/svg.image?TDPs&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)

Revision as of 12:23, 24 October 2022

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

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

https ://latex.codecogs.com/svg.image?TDPs&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)