I can't get the sqrt or pow macros to work.

For example

`(set: $num to (sqrt: 25) )`

Just stores a 0 in $num. No matter what I give it as input, sqrt seems to evaluate to zero.

Likewise, even though the documentation says pow should be used like (pow: 5, 2), it complains that pow only takes 1 argument. Giving it 1 argument evaluates to zero.

I've tried testing in a few different browsers and with the online and downloadable version of Twine.

I'm not sure what I am doing wrong with these functions. Any help is appreciated.

Merely as an FYI and not to take away from greyelf's excellent answer. Note that the proposed workaround only works with number literals. Because of the way Harlowe works, you cannot currently pass $variables into functions and methods.

For example: