One thing that confused me though, when I was trying to figure out how to square root is that one of your code blocks seems to translate into Math.pow, which made me think that I could use it too.
For the same reason you gave, equality between block-based and text-based programmers, I'd suggest any function that the blocks translate into should be allowed.
If it would help you I can find the specific block I'm referring to latter today.