Actually x*x is even preferable to x**2 for two reasons:
1) It's faster. x**2 computes the log(x) using a polynomial series,
multiplies the log by 2 and then exponentiates this value using
another polynomial series.
2) It's more accurate: Polynomial series have errors depending on the
number of terms that are used that are much higher than what you get
by a single multiply.
Of course with math coprocessors or built in MPU's in today's CPU's a
lot of this is implemented in hardware on the chip so speed is a lot
less of a factor than it used to be in the good old days but the
relative accuracy of x*x vs. x**2 should still be true.
Doug De Clue
LabVIEW programmer
ddeclue@bellsouth.net
"Wiebe@AIR"
wrote in message news:1@news1.xs4all.nl>...
> Hi,
>
> x^2 is written as x**2. But x*x also works 😉
>
> Regards,
>
> Wiebe.
>
> "martins bit" wrote in message
> news:50650000000800000020540000-1027480788000@exchange.ni.com...
> > The square(x) function in the formula node does not seem to work, can
> > someone confirm, or give me some example syntax?
> >
> > LabVIEW 6.1, Win2K