It is currently September 20th, 2019, 5:31 pm

## Asin, Acos and Atan inadvertence in help

Discussion about the documentation, main Rainmeter site and forums.
balala
Rainmeter Sage
Posts: 8630
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

### Asin, Acos and Atan inadvertence in help

Working with some trigonometric functions in Calc measures, I concluded that the Functions section of the help, has a small inadvertence: in the explanation of the Atan(x), Asin(x), Acos(x), Cos(x), Sin(x), Tan(x) functions is written:
Standard trigonometric functions. x is in radians.
The "Standard trigonometric functions" is right, but the "x is in radians" part is true just for the last three functions (Cos(x), Sin(x), Tan(x)). The argument of the Atan(x), Asin(x), Acos(x) functions are not angles (neither in degrees, neither in radians), but numbers. More than this, the argument of the Asin(x) and Acos(x) functions must be between -1 and 1. The result of the Atan(x), Asin(x), Acos(x) functions are indeed expressed into radians.
Eg the Asin(10) will give an error, because as I said, the argument of the Asin (and Acos) function(s) must be between -1 and 1. Asin(0.5) works well.
Please check and if I'm right, fix the help.
Thanks.
smurfier
Moderator
Posts: 1937
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

### Re: Asin, Acos and Atan inadvertence in help

Fixed. Thanks for noticing.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
balala
Rainmeter Sage
Posts: 8630
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

### Re: Asin, Acos and Atan inadvertence in help

Sorry, but it's still not correct.
The "x is between -1 and 1" is correct just for Acos(x) and Asin(x). This restriction is not applying to Atan(x). Its argument don't have to be between these boundaries.
jsmorley
Developer
Posts: 19467
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

### Re: Asin, Acos and Atan inadvertence in help

balala wrote:Sorry, but it's still not correct.
The "x is between -1 and 1" is correct just for Acos(x) and Asin(x). This restriction is not applying to Atan(x). Its argument don't have to be between these boundaries.
I pushed another small change balala. See if it makes sense now.
balala
Rainmeter Sage
Posts: 8630
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

### Re: Asin, Acos and Atan inadvertence in help

jsmorley wrote:I pushed another small change balala. See if it makes sense now.
I think it's ok now.