Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 1 | # Copyright 2013 the V8 project authors. All rights reserved. |
| 2 | # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 | # |
| 4 | # Redistribution and use in source and binary forms, with or without |
| 5 | # modification, are permitted provided that the following conditions |
| 6 | # are met: |
| 7 | # 1. Redistributions of source code must retain the above copyright |
| 8 | # notice, this list of conditions and the following disclaimer. |
| 9 | # 2. Redistributions in binary form must reproduce the above copyright |
| 10 | # notice, this list of conditions and the following disclaimer in the |
| 11 | # documentation and/or other materials provided with the distribution. |
| 12 | # |
| 13 | # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY |
| 14 | # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 15 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 16 | # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 17 | # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 18 | # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 19 | # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 20 | # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 21 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 22 | # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 | |
| 24 | This test verifies that the bit twiddling done in JavaScriptCore's integer machinery works correctly on the current platform. |
| 25 | |
| 26 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 27 | |
| 28 | |
| 29 | PASS (-1).toString() is "-1" |
| 30 | PASS (0).toString() is "0" |
| 31 | PASS (-0).toString() is "0" |
| 32 | |
| 33 | bits used to store value: 8 |
| 34 | PASS min.toString() is "-128" |
| 35 | PASS (min - 1).toString() is "-129" |
| 36 | PASS max.toString() is "127" |
| 37 | PASS (max + 1).toString() is "128" |
| 38 | bits used to store value: 9 |
| 39 | PASS min.toString() is "-256" |
| 40 | PASS (min - 1).toString() is "-257" |
| 41 | PASS max.toString() is "255" |
| 42 | PASS (max + 1).toString() is "256" |
| 43 | bits used to store value: 10 |
| 44 | PASS min.toString() is "-512" |
| 45 | PASS (min - 1).toString() is "-513" |
| 46 | PASS max.toString() is "511" |
| 47 | PASS (max + 1).toString() is "512" |
| 48 | bits used to store value: 11 |
| 49 | PASS min.toString() is "-1024" |
| 50 | PASS (min - 1).toString() is "-1025" |
| 51 | PASS max.toString() is "1023" |
| 52 | PASS (max + 1).toString() is "1024" |
| 53 | bits used to store value: 12 |
| 54 | PASS min.toString() is "-2048" |
| 55 | PASS (min - 1).toString() is "-2049" |
| 56 | PASS max.toString() is "2047" |
| 57 | PASS (max + 1).toString() is "2048" |
| 58 | bits used to store value: 13 |
| 59 | PASS min.toString() is "-4096" |
| 60 | PASS (min - 1).toString() is "-4097" |
| 61 | PASS max.toString() is "4095" |
| 62 | PASS (max + 1).toString() is "4096" |
| 63 | bits used to store value: 14 |
| 64 | PASS min.toString() is "-8192" |
| 65 | PASS (min - 1).toString() is "-8193" |
| 66 | PASS max.toString() is "8191" |
| 67 | PASS (max + 1).toString() is "8192" |
| 68 | bits used to store value: 15 |
| 69 | PASS min.toString() is "-16384" |
| 70 | PASS (min - 1).toString() is "-16385" |
| 71 | PASS max.toString() is "16383" |
| 72 | PASS (max + 1).toString() is "16384" |
| 73 | bits used to store value: 16 |
| 74 | PASS min.toString() is "-32768" |
| 75 | PASS (min - 1).toString() is "-32769" |
| 76 | PASS max.toString() is "32767" |
| 77 | PASS (max + 1).toString() is "32768" |
| 78 | bits used to store value: 17 |
| 79 | PASS min.toString() is "-65536" |
| 80 | PASS (min - 1).toString() is "-65537" |
| 81 | PASS max.toString() is "65535" |
| 82 | PASS (max + 1).toString() is "65536" |
| 83 | bits used to store value: 18 |
| 84 | PASS min.toString() is "-131072" |
| 85 | PASS (min - 1).toString() is "-131073" |
| 86 | PASS max.toString() is "131071" |
| 87 | PASS (max + 1).toString() is "131072" |
| 88 | bits used to store value: 19 |
| 89 | PASS min.toString() is "-262144" |
| 90 | PASS (min - 1).toString() is "-262145" |
| 91 | PASS max.toString() is "262143" |
| 92 | PASS (max + 1).toString() is "262144" |
| 93 | bits used to store value: 20 |
| 94 | PASS min.toString() is "-524288" |
| 95 | PASS (min - 1).toString() is "-524289" |
| 96 | PASS max.toString() is "524287" |
| 97 | PASS (max + 1).toString() is "524288" |
| 98 | bits used to store value: 21 |
| 99 | PASS min.toString() is "-1048576" |
| 100 | PASS (min - 1).toString() is "-1048577" |
| 101 | PASS max.toString() is "1048575" |
| 102 | PASS (max + 1).toString() is "1048576" |
| 103 | bits used to store value: 22 |
| 104 | PASS min.toString() is "-2097152" |
| 105 | PASS (min - 1).toString() is "-2097153" |
| 106 | PASS max.toString() is "2097151" |
| 107 | PASS (max + 1).toString() is "2097152" |
| 108 | bits used to store value: 23 |
| 109 | PASS min.toString() is "-4194304" |
| 110 | PASS (min - 1).toString() is "-4194305" |
| 111 | PASS max.toString() is "4194303" |
| 112 | PASS (max + 1).toString() is "4194304" |
| 113 | bits used to store value: 24 |
| 114 | PASS min.toString() is "-8388608" |
| 115 | PASS (min - 1).toString() is "-8388609" |
| 116 | PASS max.toString() is "8388607" |
| 117 | PASS (max + 1).toString() is "8388608" |
| 118 | bits used to store value: 25 |
| 119 | PASS min.toString() is "-16777216" |
| 120 | PASS (min - 1).toString() is "-16777217" |
| 121 | PASS max.toString() is "16777215" |
| 122 | PASS (max + 1).toString() is "16777216" |
| 123 | bits used to store value: 26 |
| 124 | PASS min.toString() is "-33554432" |
| 125 | PASS (min - 1).toString() is "-33554433" |
| 126 | PASS max.toString() is "33554431" |
| 127 | PASS (max + 1).toString() is "33554432" |
| 128 | bits used to store value: 27 |
| 129 | PASS min.toString() is "-67108864" |
| 130 | PASS (min - 1).toString() is "-67108865" |
| 131 | PASS max.toString() is "67108863" |
| 132 | PASS (max + 1).toString() is "67108864" |
| 133 | bits used to store value: 28 |
| 134 | PASS min.toString() is "-134217728" |
| 135 | PASS (min - 1).toString() is "-134217729" |
| 136 | PASS max.toString() is "134217727" |
| 137 | PASS (max + 1).toString() is "134217728" |
| 138 | bits used to store value: 29 |
| 139 | PASS min.toString() is "-268435456" |
| 140 | PASS (min - 1).toString() is "-268435457" |
| 141 | PASS max.toString() is "268435455" |
| 142 | PASS (max + 1).toString() is "268435456" |
| 143 | bits used to store value: 30 |
| 144 | PASS min.toString() is "-536870912" |
| 145 | PASS (min - 1).toString() is "-536870913" |
| 146 | PASS max.toString() is "536870911" |
| 147 | PASS (max + 1).toString() is "536870912" |
| 148 | bits used to store value: 31 |
| 149 | PASS min.toString() is "-1073741824" |
| 150 | PASS (min - 1).toString() is "-1073741825" |
| 151 | PASS max.toString() is "1073741823" |
| 152 | PASS (max + 1).toString() is "1073741824" |
| 153 | bits used to store value: 32 |
| 154 | PASS min.toString() is "-2147483648" |
| 155 | PASS (min - 1).toString() is "-2147483649" |
| 156 | PASS max.toString() is "2147483647" |
| 157 | PASS (max + 1).toString() is "2147483648" |
| 158 | bits used to store value: 33 |
| 159 | PASS min.toString() is "-4294967296" |
| 160 | PASS (min - 1).toString() is "-4294967297" |
| 161 | PASS max.toString() is "4294967295" |
| 162 | PASS (max + 1).toString() is "4294967296" |
| 163 | bits used to store value: 34 |
| 164 | PASS min.toString() is "-8589934592" |
| 165 | PASS (min - 1).toString() is "-8589934593" |
| 166 | PASS max.toString() is "8589934591" |
| 167 | PASS (max + 1).toString() is "8589934592" |
| 168 | bits used to store value: 35 |
| 169 | PASS min.toString() is "-17179869184" |
| 170 | PASS (min - 1).toString() is "-17179869185" |
| 171 | PASS max.toString() is "17179869183" |
| 172 | PASS (max + 1).toString() is "17179869184" |
| 173 | bits used to store value: 36 |
| 174 | PASS min.toString() is "-34359738368" |
| 175 | PASS (min - 1).toString() is "-34359738369" |
| 176 | PASS max.toString() is "34359738367" |
| 177 | PASS (max + 1).toString() is "34359738368" |
| 178 | bits used to store value: 37 |
| 179 | PASS min.toString() is "-68719476736" |
| 180 | PASS (min - 1).toString() is "-68719476737" |
| 181 | PASS max.toString() is "68719476735" |
| 182 | PASS (max + 1).toString() is "68719476736" |
| 183 | bits used to store value: 38 |
| 184 | PASS min.toString() is "-137438953472" |
| 185 | PASS (min - 1).toString() is "-137438953473" |
| 186 | PASS max.toString() is "137438953471" |
| 187 | PASS (max + 1).toString() is "137438953472" |
| 188 | bits used to store value: 39 |
| 189 | PASS min.toString() is "-274877906944" |
| 190 | PASS (min - 1).toString() is "-274877906945" |
| 191 | PASS max.toString() is "274877906943" |
| 192 | PASS (max + 1).toString() is "274877906944" |
| 193 | bits used to store value: 40 |
| 194 | PASS min.toString() is "-549755813888" |
| 195 | PASS (min - 1).toString() is "-549755813889" |
| 196 | PASS max.toString() is "549755813887" |
| 197 | PASS (max + 1).toString() is "549755813888" |
| 198 | bits used to store value: 41 |
| 199 | PASS min.toString() is "-1099511627776" |
| 200 | PASS (min - 1).toString() is "-1099511627777" |
| 201 | PASS max.toString() is "1099511627775" |
| 202 | PASS (max + 1).toString() is "1099511627776" |
| 203 | bits used to store value: 42 |
| 204 | PASS min.toString() is "-2199023255552" |
| 205 | PASS (min - 1).toString() is "-2199023255553" |
| 206 | PASS max.toString() is "2199023255551" |
| 207 | PASS (max + 1).toString() is "2199023255552" |
| 208 | bits used to store value: 43 |
| 209 | PASS min.toString() is "-4398046511104" |
| 210 | PASS (min - 1).toString() is "-4398046511105" |
| 211 | PASS max.toString() is "4398046511103" |
| 212 | PASS (max + 1).toString() is "4398046511104" |
| 213 | bits used to store value: 44 |
| 214 | PASS min.toString() is "-8796093022208" |
| 215 | PASS (min - 1).toString() is "-8796093022209" |
| 216 | PASS max.toString() is "8796093022207" |
| 217 | PASS (max + 1).toString() is "8796093022208" |
| 218 | bits used to store value: 45 |
| 219 | PASS min.toString() is "-17592186044416" |
| 220 | PASS (min - 1).toString() is "-17592186044417" |
| 221 | PASS max.toString() is "17592186044415" |
| 222 | PASS (max + 1).toString() is "17592186044416" |
| 223 | bits used to store value: 46 |
| 224 | PASS min.toString() is "-35184372088832" |
| 225 | PASS (min - 1).toString() is "-35184372088833" |
| 226 | PASS max.toString() is "35184372088831" |
| 227 | PASS (max + 1).toString() is "35184372088832" |
| 228 | bits used to store value: 47 |
| 229 | PASS min.toString() is "-70368744177664" |
| 230 | PASS (min - 1).toString() is "-70368744177665" |
| 231 | PASS max.toString() is "70368744177663" |
| 232 | PASS (max + 1).toString() is "70368744177664" |
| 233 | bits used to store value: 48 |
| 234 | PASS min.toString() is "-140737488355328" |
| 235 | PASS (min - 1).toString() is "-140737488355329" |
| 236 | PASS max.toString() is "140737488355327" |
| 237 | PASS (max + 1).toString() is "140737488355328" |
| 238 | bits used to store value: 49 |
| 239 | PASS min.toString() is "-281474976710656" |
| 240 | PASS (min - 1).toString() is "-281474976710657" |
| 241 | PASS max.toString() is "281474976710655" |
| 242 | PASS (max + 1).toString() is "281474976710656" |
| 243 | bits used to store value: 50 |
| 244 | PASS min.toString() is "-562949953421312" |
| 245 | PASS (min - 1).toString() is "-562949953421313" |
| 246 | PASS max.toString() is "562949953421311" |
| 247 | PASS (max + 1).toString() is "562949953421312" |
| 248 | bits used to store value: 51 |
| 249 | PASS min.toString() is "-1125899906842624" |
| 250 | PASS (min - 1).toString() is "-1125899906842625" |
| 251 | PASS max.toString() is "1125899906842623" |
| 252 | PASS (max + 1).toString() is "1125899906842624" |
| 253 | bits used to store value: 52 |
| 254 | PASS min.toString() is "-2251799813685248" |
| 255 | PASS (min - 1).toString() is "-2251799813685249" |
| 256 | PASS max.toString() is "2251799813685247" |
| 257 | PASS (max + 1).toString() is "2251799813685248" |
| 258 | bits used to store value: 53 |
| 259 | PASS min.toString() is "-4503599627370496" |
| 260 | PASS (min - 1).toString() is "-4503599627370497" |
| 261 | PASS max.toString() is "4503599627370495" |
| 262 | PASS (max + 1).toString() is "4503599627370496" |
| 263 | bits used to store value: 54 |
| 264 | PASS min.toString() is "-9007199254740992" |
| 265 | PASS (min - 1).toString() is "-9007199254740992" |
| 266 | PASS max.toString() is "9007199254740991" |
| 267 | PASS (max + 1).toString() is "9007199254740992" |
| 268 | bits used to store value: 55 |
| 269 | PASS min.toString() is "-18014398509481984" |
| 270 | PASS (min - 1).toString() is "-18014398509481984" |
| 271 | PASS max.toString() is "18014398509481984" |
| 272 | PASS (max + 1).toString() is "18014398509481984" |
| 273 | bits used to store value: 56 |
| 274 | PASS min.toString() is "-36028797018963970" |
| 275 | PASS (min - 1).toString() is "-36028797018963970" |
| 276 | PASS max.toString() is "36028797018963970" |
| 277 | PASS (max + 1).toString() is "36028797018963970" |
| 278 | bits used to store value: 57 |
| 279 | PASS min.toString() is "-72057594037927940" |
| 280 | PASS (min - 1).toString() is "-72057594037927940" |
| 281 | PASS max.toString() is "72057594037927940" |
| 282 | PASS (max + 1).toString() is "72057594037927940" |
| 283 | bits used to store value: 58 |
| 284 | PASS min.toString() is "-144115188075855870" |
| 285 | PASS (min - 1).toString() is "-144115188075855870" |
| 286 | PASS max.toString() is "144115188075855870" |
| 287 | PASS (max + 1).toString() is "144115188075855870" |
| 288 | bits used to store value: 59 |
| 289 | PASS min.toString() is "-288230376151711740" |
| 290 | PASS (min - 1).toString() is "-288230376151711740" |
| 291 | PASS max.toString() is "288230376151711740" |
| 292 | PASS (max + 1).toString() is "288230376151711740" |
| 293 | bits used to store value: 60 |
| 294 | PASS min.toString() is "-576460752303423500" |
| 295 | PASS (min - 1).toString() is "-576460752303423500" |
| 296 | PASS max.toString() is "576460752303423500" |
| 297 | PASS (max + 1).toString() is "576460752303423500" |
| 298 | bits used to store value: 61 |
| 299 | PASS min.toString() is "-1152921504606847000" |
| 300 | PASS (min - 1).toString() is "-1152921504606847000" |
| 301 | PASS max.toString() is "1152921504606847000" |
| 302 | PASS (max + 1).toString() is "1152921504606847000" |
| 303 | bits used to store value: 62 |
| 304 | PASS min.toString() is "-2305843009213694000" |
| 305 | PASS (min - 1).toString() is "-2305843009213694000" |
| 306 | PASS max.toString() is "2305843009213694000" |
| 307 | PASS (max + 1).toString() is "2305843009213694000" |
| 308 | bits used to store value: 63 |
| 309 | PASS min.toString() is "-4611686018427388000" |
| 310 | PASS (min - 1).toString() is "-4611686018427388000" |
| 311 | PASS max.toString() is "4611686018427388000" |
| 312 | PASS (max + 1).toString() is "4611686018427388000" |
| 313 | bits used to store value: 64 |
| 314 | PASS min.toString() is "-9223372036854776000" |
| 315 | PASS (min - 1).toString() is "-9223372036854776000" |
| 316 | PASS max.toString() is "9223372036854776000" |
| 317 | PASS (max + 1).toString() is "9223372036854776000" |
| 318 | bits used to store value: 65 |
| 319 | PASS min.toString() is "-18446744073709552000" |
| 320 | PASS (min - 1).toString() is "-18446744073709552000" |
| 321 | PASS max.toString() is "18446744073709552000" |
| 322 | PASS (max + 1).toString() is "18446744073709552000" |
| 323 | bits used to store value: 66 |
| 324 | PASS min.toString() is "-36893488147419103000" |
| 325 | PASS (min - 1).toString() is "-36893488147419103000" |
| 326 | PASS max.toString() is "36893488147419103000" |
| 327 | PASS (max + 1).toString() is "36893488147419103000" |
| 328 | bits used to store value: 67 |
| 329 | PASS min.toString() is "-73786976294838210000" |
| 330 | PASS (min - 1).toString() is "-73786976294838210000" |
| 331 | PASS max.toString() is "73786976294838210000" |
| 332 | PASS (max + 1).toString() is "73786976294838210000" |
| 333 | bits used to store value: 68 |
| 334 | PASS min.toString() is "-147573952589676410000" |
| 335 | PASS (min - 1).toString() is "-147573952589676410000" |
| 336 | PASS max.toString() is "147573952589676410000" |
| 337 | PASS (max + 1).toString() is "147573952589676410000" |
| 338 | bits used to store value: 69 |
| 339 | PASS min.toString() is "-295147905179352830000" |
| 340 | PASS (min - 1).toString() is "-295147905179352830000" |
| 341 | PASS max.toString() is "295147905179352830000" |
| 342 | PASS (max + 1).toString() is "295147905179352830000" |
| 343 | bits used to store value: 70 |
| 344 | PASS min.toString() is "-590295810358705700000" |
| 345 | PASS (min - 1).toString() is "-590295810358705700000" |
| 346 | PASS max.toString() is "590295810358705700000" |
| 347 | PASS (max + 1).toString() is "590295810358705700000" |
| 348 | bits used to store value: 71 |
| 349 | PASS min.toString() is "-1.1805916207174113e+21" |
| 350 | PASS (min - 1).toString() is "-1.1805916207174113e+21" |
| 351 | PASS max.toString() is "1.1805916207174113e+21" |
| 352 | PASS (max + 1).toString() is "1.1805916207174113e+21" |
| 353 | bits used to store value: 72 |
| 354 | PASS min.toString() is "-2.3611832414348226e+21" |
| 355 | PASS (min - 1).toString() is "-2.3611832414348226e+21" |
| 356 | PASS max.toString() is "2.3611832414348226e+21" |
| 357 | PASS (max + 1).toString() is "2.3611832414348226e+21" |
| 358 | bits used to store value: 73 |
| 359 | PASS min.toString() is "-4.722366482869645e+21" |
| 360 | PASS (min - 1).toString() is "-4.722366482869645e+21" |
| 361 | PASS max.toString() is "4.722366482869645e+21" |
| 362 | PASS (max + 1).toString() is "4.722366482869645e+21" |
| 363 | bits used to store value: 74 |
| 364 | PASS min.toString() is "-9.44473296573929e+21" |
| 365 | PASS (min - 1).toString() is "-9.44473296573929e+21" |
| 366 | PASS max.toString() is "9.44473296573929e+21" |
| 367 | PASS (max + 1).toString() is "9.44473296573929e+21" |
| 368 | bits used to store value: 75 |
| 369 | PASS min.toString() is "-1.888946593147858e+22" |
| 370 | PASS (min - 1).toString() is "-1.888946593147858e+22" |
| 371 | PASS max.toString() is "1.888946593147858e+22" |
| 372 | PASS (max + 1).toString() is "1.888946593147858e+22" |
| 373 | bits used to store value: 76 |
| 374 | PASS min.toString() is "-3.777893186295716e+22" |
| 375 | PASS (min - 1).toString() is "-3.777893186295716e+22" |
| 376 | PASS max.toString() is "3.777893186295716e+22" |
| 377 | PASS (max + 1).toString() is "3.777893186295716e+22" |
| 378 | bits used to store value: 77 |
| 379 | PASS min.toString() is "-7.555786372591432e+22" |
| 380 | PASS (min - 1).toString() is "-7.555786372591432e+22" |
| 381 | PASS max.toString() is "7.555786372591432e+22" |
| 382 | PASS (max + 1).toString() is "7.555786372591432e+22" |
| 383 | bits used to store value: 78 |
| 384 | PASS min.toString() is "-1.5111572745182865e+23" |
| 385 | PASS (min - 1).toString() is "-1.5111572745182865e+23" |
| 386 | PASS max.toString() is "1.5111572745182865e+23" |
| 387 | PASS (max + 1).toString() is "1.5111572745182865e+23" |
| 388 | bits used to store value: 79 |
| 389 | PASS min.toString() is "-3.022314549036573e+23" |
| 390 | PASS (min - 1).toString() is "-3.022314549036573e+23" |
| 391 | PASS max.toString() is "3.022314549036573e+23" |
| 392 | PASS (max + 1).toString() is "3.022314549036573e+23" |
| 393 | bits used to store value: 80 |
| 394 | PASS min.toString() is "-6.044629098073146e+23" |
| 395 | PASS (min - 1).toString() is "-6.044629098073146e+23" |
| 396 | PASS max.toString() is "6.044629098073146e+23" |
| 397 | PASS (max + 1).toString() is "6.044629098073146e+23" |
| 398 | bits used to store value: 81 |
| 399 | PASS min.toString() is "-1.2089258196146292e+24" |
| 400 | PASS (min - 1).toString() is "-1.2089258196146292e+24" |
| 401 | PASS max.toString() is "1.2089258196146292e+24" |
| 402 | PASS (max + 1).toString() is "1.2089258196146292e+24" |
| 403 | bits used to store value: 82 |
| 404 | PASS min.toString() is "-2.4178516392292583e+24" |
| 405 | PASS (min - 1).toString() is "-2.4178516392292583e+24" |
| 406 | PASS max.toString() is "2.4178516392292583e+24" |
| 407 | PASS (max + 1).toString() is "2.4178516392292583e+24" |
| 408 | bits used to store value: 83 |
| 409 | PASS min.toString() is "-4.835703278458517e+24" |
| 410 | PASS (min - 1).toString() is "-4.835703278458517e+24" |
| 411 | PASS max.toString() is "4.835703278458517e+24" |
| 412 | PASS (max + 1).toString() is "4.835703278458517e+24" |
| 413 | bits used to store value: 84 |
| 414 | PASS min.toString() is "-9.671406556917033e+24" |
| 415 | PASS (min - 1).toString() is "-9.671406556917033e+24" |
| 416 | PASS max.toString() is "9.671406556917033e+24" |
| 417 | PASS (max + 1).toString() is "9.671406556917033e+24" |
| 418 | bits used to store value: 85 |
| 419 | PASS min.toString() is "-1.9342813113834067e+25" |
| 420 | PASS (min - 1).toString() is "-1.9342813113834067e+25" |
| 421 | PASS max.toString() is "1.9342813113834067e+25" |
| 422 | PASS (max + 1).toString() is "1.9342813113834067e+25" |
| 423 | bits used to store value: 86 |
| 424 | PASS min.toString() is "-3.8685626227668134e+25" |
| 425 | PASS (min - 1).toString() is "-3.8685626227668134e+25" |
| 426 | PASS max.toString() is "3.8685626227668134e+25" |
| 427 | PASS (max + 1).toString() is "3.8685626227668134e+25" |
| 428 | bits used to store value: 87 |
| 429 | PASS min.toString() is "-7.737125245533627e+25" |
| 430 | PASS (min - 1).toString() is "-7.737125245533627e+25" |
| 431 | PASS max.toString() is "7.737125245533627e+25" |
| 432 | PASS (max + 1).toString() is "7.737125245533627e+25" |
| 433 | bits used to store value: 88 |
| 434 | PASS min.toString() is "-1.5474250491067253e+26" |
| 435 | PASS (min - 1).toString() is "-1.5474250491067253e+26" |
| 436 | PASS max.toString() is "1.5474250491067253e+26" |
| 437 | PASS (max + 1).toString() is "1.5474250491067253e+26" |
| 438 | bits used to store value: 89 |
| 439 | PASS min.toString() is "-3.094850098213451e+26" |
| 440 | PASS (min - 1).toString() is "-3.094850098213451e+26" |
| 441 | PASS max.toString() is "3.094850098213451e+26" |
| 442 | PASS (max + 1).toString() is "3.094850098213451e+26" |
| 443 | bits used to store value: 90 |
| 444 | PASS min.toString() is "-6.189700196426902e+26" |
| 445 | PASS (min - 1).toString() is "-6.189700196426902e+26" |
| 446 | PASS max.toString() is "6.189700196426902e+26" |
| 447 | PASS (max + 1).toString() is "6.189700196426902e+26" |
| 448 | bits used to store value: 91 |
| 449 | PASS min.toString() is "-1.2379400392853803e+27" |
| 450 | PASS (min - 1).toString() is "-1.2379400392853803e+27" |
| 451 | PASS max.toString() is "1.2379400392853803e+27" |
| 452 | PASS (max + 1).toString() is "1.2379400392853803e+27" |
| 453 | bits used to store value: 92 |
| 454 | PASS min.toString() is "-2.4758800785707605e+27" |
| 455 | PASS (min - 1).toString() is "-2.4758800785707605e+27" |
| 456 | PASS max.toString() is "2.4758800785707605e+27" |
| 457 | PASS (max + 1).toString() is "2.4758800785707605e+27" |
| 458 | bits used to store value: 93 |
| 459 | PASS min.toString() is "-4.951760157141521e+27" |
| 460 | PASS (min - 1).toString() is "-4.951760157141521e+27" |
| 461 | PASS max.toString() is "4.951760157141521e+27" |
| 462 | PASS (max + 1).toString() is "4.951760157141521e+27" |
| 463 | bits used to store value: 94 |
| 464 | PASS min.toString() is "-9.903520314283042e+27" |
| 465 | PASS (min - 1).toString() is "-9.903520314283042e+27" |
| 466 | PASS max.toString() is "9.903520314283042e+27" |
| 467 | PASS (max + 1).toString() is "9.903520314283042e+27" |
| 468 | bits used to store value: 95 |
| 469 | PASS min.toString() is "-1.9807040628566084e+28" |
| 470 | PASS (min - 1).toString() is "-1.9807040628566084e+28" |
| 471 | PASS max.toString() is "1.9807040628566084e+28" |
| 472 | PASS (max + 1).toString() is "1.9807040628566084e+28" |
| 473 | bits used to store value: 96 |
| 474 | PASS min.toString() is "-3.961408125713217e+28" |
| 475 | PASS (min - 1).toString() is "-3.961408125713217e+28" |
| 476 | PASS max.toString() is "3.961408125713217e+28" |
| 477 | PASS (max + 1).toString() is "3.961408125713217e+28" |
| 478 | bits used to store value: 97 |
| 479 | PASS min.toString() is "-7.922816251426434e+28" |
| 480 | PASS (min - 1).toString() is "-7.922816251426434e+28" |
| 481 | PASS max.toString() is "7.922816251426434e+28" |
| 482 | PASS (max + 1).toString() is "7.922816251426434e+28" |
| 483 | bits used to store value: 98 |
| 484 | PASS min.toString() is "-1.5845632502852868e+29" |
| 485 | PASS (min - 1).toString() is "-1.5845632502852868e+29" |
| 486 | PASS max.toString() is "1.5845632502852868e+29" |
| 487 | PASS (max + 1).toString() is "1.5845632502852868e+29" |
| 488 | bits used to store value: 99 |
| 489 | PASS min.toString() is "-3.1691265005705735e+29" |
| 490 | PASS (min - 1).toString() is "-3.1691265005705735e+29" |
| 491 | PASS max.toString() is "3.1691265005705735e+29" |
| 492 | PASS (max + 1).toString() is "3.1691265005705735e+29" |
| 493 | bits used to store value: 100 |
| 494 | PASS min.toString() is "-6.338253001141147e+29" |
| 495 | PASS (min - 1).toString() is "-6.338253001141147e+29" |
| 496 | PASS max.toString() is "6.338253001141147e+29" |
| 497 | PASS (max + 1).toString() is "6.338253001141147e+29" |
| 498 | bits used to store value: 101 |
| 499 | PASS min.toString() is "-1.2676506002282294e+30" |
| 500 | PASS (min - 1).toString() is "-1.2676506002282294e+30" |
| 501 | PASS max.toString() is "1.2676506002282294e+30" |
| 502 | PASS (max + 1).toString() is "1.2676506002282294e+30" |
| 503 | bits used to store value: 102 |
| 504 | PASS min.toString() is "-2.535301200456459e+30" |
| 505 | PASS (min - 1).toString() is "-2.535301200456459e+30" |
| 506 | PASS max.toString() is "2.535301200456459e+30" |
| 507 | PASS (max + 1).toString() is "2.535301200456459e+30" |
| 508 | bits used to store value: 103 |
| 509 | PASS min.toString() is "-5.070602400912918e+30" |
| 510 | PASS (min - 1).toString() is "-5.070602400912918e+30" |
| 511 | PASS max.toString() is "5.070602400912918e+30" |
| 512 | PASS (max + 1).toString() is "5.070602400912918e+30" |
| 513 | bits used to store value: 104 |
| 514 | PASS min.toString() is "-1.0141204801825835e+31" |
| 515 | PASS (min - 1).toString() is "-1.0141204801825835e+31" |
| 516 | PASS max.toString() is "1.0141204801825835e+31" |
| 517 | PASS (max + 1).toString() is "1.0141204801825835e+31" |
| 518 | bits used to store value: 105 |
| 519 | PASS min.toString() is "-2.028240960365167e+31" |
| 520 | PASS (min - 1).toString() is "-2.028240960365167e+31" |
| 521 | PASS max.toString() is "2.028240960365167e+31" |
| 522 | PASS (max + 1).toString() is "2.028240960365167e+31" |
| 523 | bits used to store value: 106 |
| 524 | PASS min.toString() is "-4.056481920730334e+31" |
| 525 | PASS (min - 1).toString() is "-4.056481920730334e+31" |
| 526 | PASS max.toString() is "4.056481920730334e+31" |
| 527 | PASS (max + 1).toString() is "4.056481920730334e+31" |
| 528 | bits used to store value: 107 |
| 529 | PASS min.toString() is "-8.112963841460668e+31" |
| 530 | PASS (min - 1).toString() is "-8.112963841460668e+31" |
| 531 | PASS max.toString() is "8.112963841460668e+31" |
| 532 | PASS (max + 1).toString() is "8.112963841460668e+31" |
| 533 | bits used to store value: 108 |
| 534 | PASS min.toString() is "-1.6225927682921336e+32" |
| 535 | PASS (min - 1).toString() is "-1.6225927682921336e+32" |
| 536 | PASS max.toString() is "1.6225927682921336e+32" |
| 537 | PASS (max + 1).toString() is "1.6225927682921336e+32" |
| 538 | bits used to store value: 109 |
| 539 | PASS min.toString() is "-3.2451855365842673e+32" |
| 540 | PASS (min - 1).toString() is "-3.2451855365842673e+32" |
| 541 | PASS max.toString() is "3.2451855365842673e+32" |
| 542 | PASS (max + 1).toString() is "3.2451855365842673e+32" |
| 543 | bits used to store value: 110 |
| 544 | PASS min.toString() is "-6.490371073168535e+32" |
| 545 | PASS (min - 1).toString() is "-6.490371073168535e+32" |
| 546 | PASS max.toString() is "6.490371073168535e+32" |
| 547 | PASS (max + 1).toString() is "6.490371073168535e+32" |
| 548 | bits used to store value: 111 |
| 549 | PASS min.toString() is "-1.298074214633707e+33" |
| 550 | PASS (min - 1).toString() is "-1.298074214633707e+33" |
| 551 | PASS max.toString() is "1.298074214633707e+33" |
| 552 | PASS (max + 1).toString() is "1.298074214633707e+33" |
| 553 | bits used to store value: 112 |
| 554 | PASS min.toString() is "-2.596148429267414e+33" |
| 555 | PASS (min - 1).toString() is "-2.596148429267414e+33" |
| 556 | PASS max.toString() is "2.596148429267414e+33" |
| 557 | PASS (max + 1).toString() is "2.596148429267414e+33" |
| 558 | bits used to store value: 113 |
| 559 | PASS min.toString() is "-5.192296858534828e+33" |
| 560 | PASS (min - 1).toString() is "-5.192296858534828e+33" |
| 561 | PASS max.toString() is "5.192296858534828e+33" |
| 562 | PASS (max + 1).toString() is "5.192296858534828e+33" |
| 563 | bits used to store value: 114 |
| 564 | PASS min.toString() is "-1.0384593717069655e+34" |
| 565 | PASS (min - 1).toString() is "-1.0384593717069655e+34" |
| 566 | PASS max.toString() is "1.0384593717069655e+34" |
| 567 | PASS (max + 1).toString() is "1.0384593717069655e+34" |
| 568 | bits used to store value: 115 |
| 569 | PASS min.toString() is "-2.076918743413931e+34" |
| 570 | PASS (min - 1).toString() is "-2.076918743413931e+34" |
| 571 | PASS max.toString() is "2.076918743413931e+34" |
| 572 | PASS (max + 1).toString() is "2.076918743413931e+34" |
| 573 | bits used to store value: 116 |
| 574 | PASS min.toString() is "-4.153837486827862e+34" |
| 575 | PASS (min - 1).toString() is "-4.153837486827862e+34" |
| 576 | PASS max.toString() is "4.153837486827862e+34" |
| 577 | PASS (max + 1).toString() is "4.153837486827862e+34" |
| 578 | bits used to store value: 117 |
| 579 | PASS min.toString() is "-8.307674973655724e+34" |
| 580 | PASS (min - 1).toString() is "-8.307674973655724e+34" |
| 581 | PASS max.toString() is "8.307674973655724e+34" |
| 582 | PASS (max + 1).toString() is "8.307674973655724e+34" |
| 583 | bits used to store value: 118 |
| 584 | PASS min.toString() is "-1.661534994731145e+35" |
| 585 | PASS (min - 1).toString() is "-1.661534994731145e+35" |
| 586 | PASS max.toString() is "1.661534994731145e+35" |
| 587 | PASS (max + 1).toString() is "1.661534994731145e+35" |
| 588 | bits used to store value: 119 |
| 589 | PASS min.toString() is "-3.32306998946229e+35" |
| 590 | PASS (min - 1).toString() is "-3.32306998946229e+35" |
| 591 | PASS max.toString() is "3.32306998946229e+35" |
| 592 | PASS (max + 1).toString() is "3.32306998946229e+35" |
| 593 | bits used to store value: 120 |
| 594 | PASS min.toString() is "-6.64613997892458e+35" |
| 595 | PASS (min - 1).toString() is "-6.64613997892458e+35" |
| 596 | PASS max.toString() is "6.64613997892458e+35" |
| 597 | PASS (max + 1).toString() is "6.64613997892458e+35" |
| 598 | bits used to store value: 121 |
| 599 | PASS min.toString() is "-1.329227995784916e+36" |
| 600 | PASS (min - 1).toString() is "-1.329227995784916e+36" |
| 601 | PASS max.toString() is "1.329227995784916e+36" |
| 602 | PASS (max + 1).toString() is "1.329227995784916e+36" |
| 603 | bits used to store value: 122 |
| 604 | PASS min.toString() is "-2.658455991569832e+36" |
| 605 | PASS (min - 1).toString() is "-2.658455991569832e+36" |
| 606 | PASS max.toString() is "2.658455991569832e+36" |
| 607 | PASS (max + 1).toString() is "2.658455991569832e+36" |
| 608 | bits used to store value: 123 |
| 609 | PASS min.toString() is "-5.316911983139664e+36" |
| 610 | PASS (min - 1).toString() is "-5.316911983139664e+36" |
| 611 | PASS max.toString() is "5.316911983139664e+36" |
| 612 | PASS (max + 1).toString() is "5.316911983139664e+36" |
| 613 | bits used to store value: 124 |
| 614 | PASS min.toString() is "-1.0633823966279327e+37" |
| 615 | PASS (min - 1).toString() is "-1.0633823966279327e+37" |
| 616 | PASS max.toString() is "1.0633823966279327e+37" |
| 617 | PASS (max + 1).toString() is "1.0633823966279327e+37" |
| 618 | bits used to store value: 125 |
| 619 | PASS min.toString() is "-2.1267647932558654e+37" |
| 620 | PASS (min - 1).toString() is "-2.1267647932558654e+37" |
| 621 | PASS max.toString() is "2.1267647932558654e+37" |
| 622 | PASS (max + 1).toString() is "2.1267647932558654e+37" |
| 623 | bits used to store value: 126 |
| 624 | PASS min.toString() is "-4.253529586511731e+37" |
| 625 | PASS (min - 1).toString() is "-4.253529586511731e+37" |
| 626 | PASS max.toString() is "4.253529586511731e+37" |
| 627 | PASS (max + 1).toString() is "4.253529586511731e+37" |
| 628 | bits used to store value: 127 |
| 629 | PASS min.toString() is "-8.507059173023462e+37" |
| 630 | PASS (min - 1).toString() is "-8.507059173023462e+37" |
| 631 | PASS max.toString() is "8.507059173023462e+37" |
| 632 | PASS (max + 1).toString() is "8.507059173023462e+37" |
| 633 | bits used to store value: 128 |
| 634 | PASS min.toString() is "-1.7014118346046923e+38" |
| 635 | PASS (min - 1).toString() is "-1.7014118346046923e+38" |
| 636 | PASS max.toString() is "1.7014118346046923e+38" |
| 637 | PASS (max + 1).toString() is "1.7014118346046923e+38" |
| 638 | PASS successfullyParsed is true |
| 639 | |
| 640 | TEST COMPLETE |
| 641 | |