1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Fixed Bug #2338 Trigonometric arithmetic problem

by fixing optimizer bug with help of 'volatile' keyword
This commit is contained in:
vva@eagle.mysql.r18.ru
2004-01-12 22:47:26 -04:00
parent 8a409722a0
commit d7f6ced155
3 changed files with 27 additions and 2 deletions

View File

@ -20,3 +20,15 @@ PI() sin(pi()/2) cos(pi()/2) abs(tan(pi())) cot(1) asin(1) acos(0) atan(1)
3.141593 1.000000 0.000000 0.000000 0.64209262 1.570796 1.570796 0.785398
degrees(pi()) radians(360)
180 6.2831853071796
ACOS(1.0)
0.000000
ASIN(1.0)
1.570796
ACOS(0.2*5.0)
0.000000
ACOS(0.5*2.0)
0.000000
ASIN(0.8+0.2)
1.570796
ASIN(1.2-0.2)
1.570796