[R] Re: ^-operation exponentiation problem

Alexander Singer alsi at oesa.ufz.de
Wed Aug 13 20:26:11 CEST 2003


Hi,

Sorry, I was to fast in sending the mail to the list.
I could find the error myself.

^operator binds stronger than -operator, so -3^3.2 calculates as
-(3)^3.2 and not as (-3)^3.2 which results correctely in NaN.

Alex




More information about the R-help mailing list