
What math functions are supported by default. I know + - * / ceil floor. Any others? I'm specifically looking for square roots.
Franky H. said:
Silvyre doesn't have any fancy math-fu to solve for square roots?
[[([[([[([[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]] + [[[[?{Type height * height + distance * distance}]] / [[([[[[?{Type height * height + distance * distance}]]/2]] + [[[[?{Type height * height + distance * distance}]] / [[[[?{Type height * height + distance * distance}]]/2]]]])/2]]]])/2]]]])/2]]]])/2]]]])/2]]
Actually, it turns out you can use ** as the exponent operator. So square root can be done accurately as x**0.5.Silvyre said:
Franky H. said:
Silvyre doesn't have any fancy math-fu to solve for square roots?
Use Brian's instead. :)
Brian said:
Actually, it turns out you can use ** as the exponent operator. So square root can be done accurately as x**0.5.Silvyre said:
Franky H. said:
Silvyre doesn't have any fancy math-fu to solve for square roots?
Use Brian's instead. :)
Yes it does, I just tried it.Silvyre said:
Brian said:
Actually, it turns out you can use ** as the exponent operator. So square root can be done accurately as x**0.5.Silvyre said:
Franky H. said:
Silvyre doesn't have any fancy math-fu to solve for square roots?
Use Brian's instead. :)
While this works awesomely for Character Sheets, it unfortunately does not work at all with the dice engine. :(