summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_math.test
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-02-06 15:23:41 +0300
committerunknown <konstantin@mysql.com>2004-02-06 15:23:41 +0300
commit5db2d195a653d913b4b0adf741df79151ca2a5a6 (patch)
tree7230fe81c62fa6a2bc488216ab3775d11795f3a5 /mysql-test/t/func_math.test
parent15b89bfc5981ad348220fbf3f7067b7465d71080 (diff)
parentb5819094a70fa1c4f9c231424af6792da0b7b801 (diff)
downloadmariadb-git-5db2d195a653d913b4b0adf741df79151ca2a5a6.tar.gz
merge 3.23 -> 4.0, 2003/02/06
BitKeeper/etc/ignore: auto-union BitKeeper/etc/logging_ok: auto-union mysql-test/r/func_math.result: Auto merged mysql-test/t/func_math.test: Auto merged sql/item_func.cc: Auto merged
Diffstat (limited to 'mysql-test/t/func_math.test')
-rw-r--r--mysql-test/t/func_math.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/func_math.test b/mysql-test/t/func_math.test
index bd125dafd53..2de692d4389 100644
--- a/mysql-test/t/func_math.test
+++ b/mysql-test/t/func_math.test
@@ -17,3 +17,14 @@ set @@rand_seed1=10000000,@@rand_seed2=1000000;
select rand(999999),rand();
select pi(),sin(pi()/2),cos(pi()/2),abs(tan(pi())),cot(1),asin(1),acos(0),atan(1);
select degrees(pi()),radians(360);
+
+#
+# Bug #2338 Trignometric arithmatic problems
+#
+
+SELECT ACOS(1.0);
+SELECT ASIN(1.0);
+SELECT ACOS(0.2*5.0);
+SELECT ACOS(0.5*2.0);
+SELECT ASIN(0.8+0.2);
+SELECT ASIN(1.2-0.2);