mysql> select tan(pi()/4);
+--------------------+
| tan(pi()/4) |
+--------------------+
| 0.9999999999999999 |
+--------------------+
1 row in set (0.00 sec)