Home | History | Annotate | Download | only in expr
      1 
      2 ========================
      3 Expression: true()
      4 Object is a Boolean : true
      5 
      6 ========================
      7 Expression: false()
      8 Object is a Boolean : false
      9 
     10 ========================
     11 Expression: number("1.5")
     12 Object is a number : 1.5
     13 
     14 ========================
     15 Expression: number('abc')
     16 Object is a number : NaN
     17 
     18 ========================
     19 Expression: -number('abc')
     20 Object is a number : NaN
     21 
     22 ========================
     23 Expression: floor(0.1)
     24 Object is a number : 0
     25 
     26 ========================
     27 Expression: floor(-0.1)
     28 Object is a number : -1
     29 
     30 ========================
     31 Expression: floor(-0)
     32 Object is a number : 0
     33 
     34 ========================
     35 Expression: floor(0)
     36 Object is a number : 0
     37 
     38 ========================
     39 Expression: floor(5.2)
     40 Object is a number : 5
     41 
     42 ========================
     43 Expression: floor(-5.2)
     44 Object is a number : -6
     45 
     46 ========================
     47 Expression: floor(100000000000000000000)
     48 Object is a number : 1e+20
     49 
     50 ========================
     51 Expression: floor(-100000000000000000000)
     52 Object is a number : -1e+20
     53 
     54 ========================
     55 Expression: floor(0 div 0)
     56 Object is a number : NaN
     57 
     58 ========================
     59 Expression: floor(1 div 0)
     60 Object is a number : Infinity
     61 
     62 ========================
     63 Expression: floor(-1 div 0)
     64 Object is a number : -Infinity
     65 
     66 ========================
     67 Expression: ceiling(0.1)
     68 Object is a number : 1
     69 
     70 ========================
     71 Expression: ceiling(-0.1)
     72 Object is a number : 0
     73 
     74 ========================
     75 Expression: ceiling(-0)
     76 Object is a number : 0
     77 
     78 ========================
     79 Expression: ceiling(0)
     80 Object is a number : 0
     81 
     82 ========================
     83 Expression: ceiling(5.2)
     84 Object is a number : 6
     85 
     86 ========================
     87 Expression: ceiling(-5.2)
     88 Object is a number : -5
     89 
     90 ========================
     91 Expression: ceiling(100000000000000000000)
     92 Object is a number : 1e+20
     93 
     94 ========================
     95 Expression: ceiling(-100000000000000000000)
     96 Object is a number : -1e+20
     97 
     98 ========================
     99 Expression: ceiling(0 div 0)
    100 Object is a number : NaN
    101 
    102 ========================
    103 Expression: ceiling(1 div 0)
    104 Object is a number : Infinity
    105 
    106 ========================
    107 Expression: ceiling(-1 div 0)
    108 Object is a number : -Infinity
    109 
    110 ========================
    111 Expression: round(0.1)
    112 Object is a number : 0
    113 
    114 ========================
    115 Expression: round(5.2)
    116 Object is a number : 5
    117 
    118 ========================
    119 Expression: round(5.5)
    120 Object is a number : 6
    121 
    122 ========================
    123 Expression: round(5.6)
    124 Object is a number : 6
    125 
    126 ========================
    127 Expression: round(-0.1)
    128 Object is a number : 0
    129 
    130 ========================
    131 Expression: round(-5.2)
    132 Object is a number : -5
    133 
    134 ========================
    135 Expression: round(-5.5)
    136 Object is a number : -5
    137 
    138 ========================
    139 Expression: round(-5.6)
    140 Object is a number : -6
    141 
    142 ========================
    143 Expression: round(0.5)
    144 Object is a number : 1
    145 
    146 ========================
    147 Expression: round(-0.5)
    148 Object is a number : 0
    149 
    150 ========================
    151 Expression: round(100000000000000000000)
    152 Object is a number : 1e+20
    153 
    154 ========================
    155 Expression: round(-100000000000000000000)
    156 Object is a number : -1e+20
    157 
    158 ========================
    159 Expression: round(0 div 0)
    160 Object is a number : NaN
    161 
    162 ========================
    163 Expression: round(1 div 0)
    164 Object is a number : Infinity
    165 
    166 ========================
    167 Expression: round(-1 div 0)
    168 Object is a number : -Infinity
    169