mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
40 lines
896 B
Text
40 lines
896 B
Text
floor(5.5) floor(-5.5)
|
|
5 -6
|
|
ceiling(5.5) ceiling(-5.5)
|
|
6 -5
|
|
truncate(52.64,1) truncate(52.64,2) truncate(52.64,-1) truncate(52.64,-2) truncate(-52.64,1) truncate(-52.64,-1)
|
|
52.6 52.64 50 0 -52.6 -50
|
|
round(5.5) round(-5.5)
|
|
6 -6
|
|
round(5.64,1) round(5.64,2) round(5.64,-1) round(5.64,-2)
|
|
5.6 5.64 10 0
|
|
abs(-10) sign(-5) sign(5) sign(0)
|
|
10 -1 1 0
|
|
log(exp(10)) exp(log(sqrt(10))*2)
|
|
10.000000 10.000000
|
|
pow(10,log10(10)) power(2,4)
|
|
10.000000 16.000000
|
|
rand(999999) rand()
|
|
0.18435012473199 0.76373626176616
|
|
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
|
|
floor(log(4)/log(2))
|
|
2
|
|
floor(log(8)/log(2))
|
|
3
|
|
floor(log(16)/log(2))
|
|
4
|