Forum Discussion
Kevin_Raison_74
Nimbostratus
Dec 08, 2005Exponentiation, involution
Can someone tell me how to accomplish pow(x,y) in F5's TCL implementation?
Thanks.
Kevin Raison
Kevin_Raison_74
Nimbostratus
Dec 08, 2005I tried the ** operator, but my BigIP says,
parse error: PARSE syntax 1976 {syntax error in expression " $t**$e ": unexpected operator *}] [{ $t**$e }]
this is the code:
set y 2000
set e 9
set t 2
set m [ expr { $t**$e } ]
set x [ expr { int($y * $m) } ]
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
