Bug #82488 Suggest default is Degree rather than Radians
Submitted: 8 Aug 2016 8:13 Modified: 8 Aug 2016 11:18
Reporter: james wang Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Options Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[8 Aug 2016 8:13] james wang
Description:
Please refer here:  http://forums.mysql.com/read.php?20,648903,648903#msg-648903

At least users can change it by setting configure file.

I would wish to get 1 from SELECT SIN(90);

Thanks

How to repeat:
SELECT SIN(90);
SELECT SIN(RADIANS(90));

Suggested fix:
Configurable
[8 Aug 2016 11:18] MySQL Verification Team
Hello James wang,

Thank you for the feature request!

Thanks,
Umesh
[12 Aug 2016 19:49] Rick James
A common thing done in other languages is to append "D" to the function name:  SIND(90), ATAND(1,1), etc.  I think this is better than a configuration setting.