Exponentiation and Root in TiddlyWiki math operators

56 views
Skip to first unread message

Duarte Farrajota Ramos

unread,
Oct 1, 2020, 7:06:12 AM10/1/20
to TiddlyWiki
Hi all.

I've been looking into getting more out of the recent math formulas feature in TiddlyWiki, but I've been unable to get any info about exponentiation.
Is it possible to calculate say the square of a number like 5^2 = 25 or the square root of 9 = 3?

There even seems to be an operator to write numbers in exponential notation, but no mention of powers, squares, roots or exponents in the documentation.

Seems like a glaring omission, was this overlooked, or are there any technical or performance limitations in including this?

TW Tones

unread,
Oct 1, 2020, 7:13:40 AM10/1/20
to TiddlyWiki
Duarte,

The maths operators were added recently, especially since they can help in fairly standard cases. For more advanced maths consider Evans Formula plugin or other maths plugins.

The new maths operators are a powerful addition in filters etc... and for comparisons etc... but for more complex maths a plugin is advised, 
however you can build more advanced features on top of standard tiddlywiki if you now how to make use of primitive maths to produce more advanced results.

Regards
Tony

Duarte Farrajota Ramos

unread,
Oct 1, 2020, 7:41:57 AM10/1/20
to TiddlyWiki
On Thursday, 1 October 2020 at 12:13:40 UTC+1 TW Tones wrote:
 For more advanced maths consider Evans Formula plugin or other maths plugins.

Funny enough that is exactly the one I am currently using since before formulas were introduced.
It has a few rough edges here and there that are expected from such complex plugins, but otherwise works fairly well.
Was just trying to get rid of it and simplify my setup by using native features without relying on external plugins, but I guess I'll have to keep using it.

Just though my limited skills were getting in the way, but glad I didn't miss anything.

Thanks for the clarification


 

TW Tones

unread,
Oct 1, 2020, 6:27:22 PM10/1/20
to TiddlyWiki
Duarte,

You can build on the basics as I suggested, one example is in the forum where decimal hex conversions were built from the basics.

However don't be shy using plugins tiddlywiki empty.html is a minimal release we expect people to install at least a few plugins.

Enjoy
Tony
Reply all
Reply to author
Forward
0 new messages