I read the math class. Is the Math class the same as math method? do you get a NA when you try to pass a non number?
Joined: May 05, 2000
Methods are part of a class. I suppose that it is possible that within the 2,000 or so classes of the API there might be one called "math". The API does tell you what happens when you pass NaN (not a number): For example, the tan method says: If the argument is NaN or an infinity, then the result is NaN.