generated from sethub/template
[libxml2]Add libxml2 library
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
1
|
||||
1+2
|
||||
2*3
|
||||
1+2*3+4
|
||||
(1+2)*(3+4)
|
||||
1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1+1*1
|
||||
0.000000000000000000000000000000000000000000000000001
|
||||
-0.000000000000000000000000000000000000000000000000001
|
||||
1e2147483648
|
||||
1e4294967296
|
||||
1e9223372036854775808
|
||||
1e18446744073709551616
|
||||
1e-2147483649
|
||||
1e-4294967296
|
||||
1e-9223372036854775809
|
||||
1e-18446744073709551616
|
||||
self::-name
|
||||
@@ -0,0 +1,46 @@
|
||||
0<0
|
||||
0<=0
|
||||
0>0
|
||||
0>=0
|
||||
0<1
|
||||
0<=1
|
||||
0>1
|
||||
0>=1
|
||||
1<0
|
||||
1<=0
|
||||
1>0
|
||||
1>=0
|
||||
1<1
|
||||
1<=1
|
||||
1>1
|
||||
1>=1
|
||||
'0'<1
|
||||
'0'<=1
|
||||
'0'>1
|
||||
'0'>=1
|
||||
0<'1.2'
|
||||
0<='1.2'
|
||||
0>'1.2'
|
||||
0>='1.2'
|
||||
0<'-0.2'
|
||||
0<='-0.2'
|
||||
0>'-0.2'
|
||||
0>='-0.2'
|
||||
false()<1
|
||||
false()<=1
|
||||
0>true()
|
||||
0>=true()
|
||||
'a' > 'a'
|
||||
'a' > 'b'
|
||||
'b' > 'a'
|
||||
'a' < 'a'
|
||||
'a' < 'b'
|
||||
'b' < 'a'
|
||||
'a' >= 'a'
|
||||
'a' >= 'b'
|
||||
'b' >= 'a'
|
||||
'a' <= 'a'
|
||||
'a' <= 'b'
|
||||
'b' <= 'a'
|
||||
'a' > '0.0'
|
||||
'a' < '0.0'
|
||||
@@ -0,0 +1,26 @@
|
||||
1=1
|
||||
1!=1
|
||||
1=0
|
||||
1!=0
|
||||
true()=true()
|
||||
true()!=true()
|
||||
true()=false()
|
||||
false()!=true()
|
||||
'test'='test'
|
||||
'test'!='test'
|
||||
'test2'='test'
|
||||
'test2'!='test'
|
||||
false()=0
|
||||
false()!=0
|
||||
false()=1
|
||||
false()!=1
|
||||
0=true()
|
||||
0!=true()
|
||||
1=true()
|
||||
1!=true()
|
||||
true()='test'
|
||||
false()='test'
|
||||
'test'!=true()
|
||||
'test'!=false()
|
||||
'a'=0.0
|
||||
'a'!=0.0
|
||||
@@ -0,0 +1,63 @@
|
||||
1
|
||||
123
|
||||
1.23
|
||||
0.123
|
||||
4.
|
||||
.4
|
||||
1.23e3
|
||||
1.23e-3
|
||||
1 div 0
|
||||
-1 div 0
|
||||
0 div 0
|
||||
1 div -0
|
||||
(1 div 0) > 0
|
||||
(1 div 0) < 0
|
||||
(-1 div 0) > 0
|
||||
(-1 div 0) < 0
|
||||
(0 div 0) > 0
|
||||
(0 div 0) < 0
|
||||
(1 div -0) > 0
|
||||
(1 div -0) < 0
|
||||
0 div 0 = 0 div 0
|
||||
0 div 0 != 0 div 0
|
||||
0 div 0 > 0 div 0
|
||||
0 div 0 < 0 div 0
|
||||
0 div 0 >= 0 div 0
|
||||
0 div 0 <= 0 div 0
|
||||
1 div 0 = -1 div 0
|
||||
1 div 0 != -1 div 0
|
||||
1 div 0 > -1 div 0
|
||||
1 div 0 < -1 div 0
|
||||
1 div 0 >= -1 div 0
|
||||
1 div 0 <= -1 div 0
|
||||
1 div 0 = 1 div 0
|
||||
1 div 0 != 1 div 0
|
||||
1 div 0 > 1 div 0
|
||||
1 div 0 < 1 div 0
|
||||
1 div 0 >= -1 div 0
|
||||
1 div 0 <= -1 div 0
|
||||
-2 div 0 = -1 div 0
|
||||
1 div floor(0.1)
|
||||
1 div floor(-0.1)
|
||||
1 div floor(-0)
|
||||
1 div floor(0)
|
||||
1 div ceiling(0.1)
|
||||
1 div ceiling(-0.1)
|
||||
1 div ceiling(-0)
|
||||
1 div ceiling(0)
|
||||
1 div round(0.1)
|
||||
1 div round(-0.1)
|
||||
1 div round(-0)
|
||||
1 div round(0)
|
||||
1 div number('f')
|
||||
number('f') div 1
|
||||
1 div (1 div 0)
|
||||
(1 div 0) div 1
|
||||
-(1 div 0) div 1
|
||||
5 mod 2
|
||||
5 mod -2
|
||||
-5 mod 2
|
||||
-5 mod -2
|
||||
8 mod 3 = 2
|
||||
12345678901234567890
|
||||
-12345678901234567890
|
||||
@@ -0,0 +1,43 @@
|
||||
true()
|
||||
false()
|
||||
number("1.5")
|
||||
number('abc')
|
||||
-number('abc')
|
||||
number('-')
|
||||
floor(0.1)
|
||||
floor(-0.1)
|
||||
floor(-0)
|
||||
floor(0)
|
||||
floor(5.2)
|
||||
floor(-5.2)
|
||||
floor(100000000000000000000)
|
||||
floor(-100000000000000000000)
|
||||
floor(0 div 0)
|
||||
floor(1 div 0)
|
||||
floor(-1 div 0)
|
||||
ceiling(0.1)
|
||||
ceiling(-0.1)
|
||||
ceiling(-0)
|
||||
ceiling(0)
|
||||
ceiling(5.2)
|
||||
ceiling(-5.2)
|
||||
ceiling(100000000000000000000)
|
||||
ceiling(-100000000000000000000)
|
||||
ceiling(0 div 0)
|
||||
ceiling(1 div 0)
|
||||
ceiling(-1 div 0)
|
||||
round(0.1)
|
||||
round(5.2)
|
||||
round(5.5)
|
||||
round(5.6)
|
||||
round(-0.1)
|
||||
round(-5.2)
|
||||
round(-5.5)
|
||||
round(-5.6)
|
||||
round(0.5)
|
||||
round(-0.5)
|
||||
round(100000000000000000000)
|
||||
round(-100000000000000000000)
|
||||
round(0 div 0)
|
||||
round(1 div 0)
|
||||
round(-1 div 0)
|
||||
@@ -0,0 +1,50 @@
|
||||
string(5)
|
||||
string(0.5)
|
||||
string(-0.5)
|
||||
string(true())
|
||||
string(false())
|
||||
string(12345678901234567890)
|
||||
string(-12345678901234567890)
|
||||
concat("titi","toto")
|
||||
concat("titi","toto","tata")
|
||||
concat("titi",'toto')
|
||||
concat("titi",'toto',"tata","last")
|
||||
starts-with("tititoto","titi")
|
||||
starts-with("tititoto","to")
|
||||
contains("tititototata","titi")
|
||||
contains("tititototata","toto")
|
||||
contains("tititototata","tata")
|
||||
contains("tititototata","tita")
|
||||
substring("12345",2,3)
|
||||
substring("12345",2)
|
||||
substring("12345",-4)
|
||||
substring("12345",3.4)
|
||||
substring("12345",3.6)
|
||||
substring("12345",1.5,2.6)
|
||||
substring("12345",2.2,2.2)
|
||||
substring("12345",0,3)
|
||||
substring("12345",-8,10)
|
||||
substring("12345",4,-10)
|
||||
substring("12345",0 div 0, 3)
|
||||
substring("12345",1, 0 div 0)
|
||||
substring("12345",1 div 0, 3)
|
||||
substring("12345",3,-1 div 0)
|
||||
substring("12345",-42, 1 div 0)
|
||||
substring("12345",-1 div 0, 1 div 0)
|
||||
substring("12345",-1 div 0,5)
|
||||
substring("12345",-0.7,4)
|
||||
substring("12345",-5000000000,5000000004)
|
||||
substring-after("12345678","345")
|
||||
substring-after("12345678","999")
|
||||
substring-before("12345678","345")
|
||||
substring-before("12345678","999")
|
||||
string-length("")
|
||||
string-length("titi")
|
||||
normalize-space(" abc def ")
|
||||
normalize-space(" abc def")
|
||||
normalize-space("abc def ")
|
||||
normalize-space(" abcdef ")
|
||||
normalize-space(" abcdef")
|
||||
normalize-space("abcdef ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user