You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
253 lines
4.9 KiB
253 lines
4.9 KiB
|
|
========================
|
|
Expression: 1
|
|
Object is a number : 1
|
|
|
|
========================
|
|
Expression: 123
|
|
Object is a number : 123
|
|
|
|
========================
|
|
Expression: 1.23
|
|
Object is a number : 1.23
|
|
|
|
========================
|
|
Expression: 0.123
|
|
Object is a number : 0.123
|
|
|
|
========================
|
|
Expression: 4.
|
|
Object is a number : 4
|
|
|
|
========================
|
|
Expression: .4
|
|
Object is a number : 0.4
|
|
|
|
========================
|
|
Expression: 1.23e3
|
|
Object is a number : 1230
|
|
|
|
========================
|
|
Expression: 1.23e-3
|
|
Object is a number : 0.00123
|
|
|
|
========================
|
|
Expression: 1 div 0
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: -1 div 0
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 0 div 0
|
|
Object is a number : NaN
|
|
|
|
========================
|
|
Expression: 1 div -0
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: (1 div 0) > 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: (1 div 0) < 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: (-1 div 0) > 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: (-1 div 0) < 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: (0 div 0) > 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: (0 div 0) < 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: (1 div -0) > 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: (1 div -0) < 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 0 div 0 = 0 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 0 div 0 != 0 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 0 div 0 > 0 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 0 div 0 < 0 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 0 div 0 >= 0 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 0 div 0 <= 0 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 = -1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 != -1 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1 div 0 > -1 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1 div 0 < -1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 >= -1 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1 div 0 <= -1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 = 1 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1 div 0 != 1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 > 1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 < 1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: 1 div 0 >= -1 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1 div 0 <= -1 div 0
|
|
Object is a Boolean : false
|
|
|
|
========================
|
|
Expression: -2 div 0 = -1 div 0
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 1 div floor(0.1)
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: 1 div floor(-0.1)
|
|
Object is a number : -1
|
|
|
|
========================
|
|
Expression: 1 div floor(-0)
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 1 div floor(0)
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: 1 div ceiling(0.1)
|
|
Object is a number : 1
|
|
|
|
========================
|
|
Expression: 1 div ceiling(-0.1)
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 1 div ceiling(-0)
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 1 div ceiling(0)
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: 1 div round(0.1)
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: 1 div round(-0.1)
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 1 div round(-0)
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 1 div round(0)
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: 1 div number('f')
|
|
Object is a number : NaN
|
|
|
|
========================
|
|
Expression: number('f') div 1
|
|
Object is a number : NaN
|
|
|
|
========================
|
|
Expression: 1 div (1 div 0)
|
|
Object is a number : 0
|
|
|
|
========================
|
|
Expression: (1 div 0) div 1
|
|
Object is a number : Infinity
|
|
|
|
========================
|
|
Expression: -(1 div 0) div 1
|
|
Object is a number : -Infinity
|
|
|
|
========================
|
|
Expression: 5 mod 2
|
|
Object is a number : 1
|
|
|
|
========================
|
|
Expression: 5 mod -2
|
|
Object is a number : 1
|
|
|
|
========================
|
|
Expression: -5 mod 2
|
|
Object is a number : -1
|
|
|
|
========================
|
|
Expression: -5 mod -2
|
|
Object is a number : -1
|
|
|
|
========================
|
|
Expression: 8 mod 3 = 2
|
|
Object is a Boolean : true
|
|
|
|
========================
|
|
Expression: 12345678901234567890
|
|
Object is a number : 1.23457e+19
|
|
|
|
========================
|
|
Expression: -12345678901234567890
|
|
Object is a number : -1.23457e+19
|