In the Visual Basic help file, it explains that the base argument
can be negative as long as the exponent argument is an integer
value. Looking at help files from other compilers, I see that
they do it the same way for equivalent Power functions. Although
the PB help file does not have an explanation for the ^ operator,
I assume that it has always used this same standard. Does
someone from PB care to shed some light on how the ^ operator is
implemented internally in PB? The mysterious result that I got
only appears under certain circumstances, so it appears not to
be the intended compiler behavior.
------------------
Daniel Corbier
UCalc Fast Math Parser
http://www.ucalc.com
can be negative as long as the exponent argument is an integer
value. Looking at help files from other compilers, I see that
they do it the same way for equivalent Power functions. Although
the PB help file does not have an explanation for the ^ operator,
I assume that it has always used this same standard. Does
someone from PB care to shed some light on how the ^ operator is
implemented internally in PB? The mysterious result that I got
only appears under certain circumstances, so it appears not to
be the intended compiler behavior.
------------------
Daniel Corbier
UCalc Fast Math Parser
http://www.ucalc.com
Comment