OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
6 # are met: | 6 # are met: |
7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 PASS Number.prototype.toString.call(-9007199254740992, 36) is "-2gosa7pa2gw" | 225 PASS Number.prototype.toString.call(-9007199254740992, 36) is "-2gosa7pa2gw" |
226 PASS Number.prototype.toString.call(new Number(-9007199254740992), 36) is "-2gos
a7pa2gw" | 226 PASS Number.prototype.toString.call(new Number(-9007199254740992), 36) is "-2gos
a7pa2gw" |
227 PASS Number(0.1).toString() is "0.1" | 227 PASS Number(0.1).toString() is "0.1" |
228 PASS Number.prototype.toString.call(0.1) is "0.1" | 228 PASS Number.prototype.toString.call(0.1) is "0.1" |
229 PASS Number.prototype.toString.call(new Number(0.1)) is "0.1" | 229 PASS Number.prototype.toString.call(new Number(0.1)) is "0.1" |
230 PASS Number("0.1").toString() is "0.1" | 230 PASS Number("0.1").toString() is "0.1" |
231 PASS Number(0.1).toString(10) is "0.1" | 231 PASS Number(0.1).toString(10) is "0.1" |
232 PASS Number(0.1).toString(2) is "0.000110011001100110011001100110011001100110011
0011001101" | 232 PASS Number(0.1).toString(2) is "0.000110011001100110011001100110011001100110011
0011001101" |
233 PASS Number.prototype.toString.call(0.1, 2) is "0.000110011001100110011001100110
0110011001100110011001101" | 233 PASS Number.prototype.toString.call(0.1, 2) is "0.000110011001100110011001100110
0110011001100110011001101" |
234 PASS Number.prototype.toString.call(new Number(0.1), 2) is "0.000110011001100110
0110011001100110011001100110011001101" | 234 PASS Number.prototype.toString.call(new Number(0.1), 2) is "0.000110011001100110
0110011001100110011001100110011001101" |
235 FAIL Number(0.1).toString(36) should be 0.3lllllllllm. Was 0.3llllllllllqsn8td1p
464unmi. | 235 PASS Number(0.1).toString(36) is "0.3lllllllllm" |
236 FAIL Number.prototype.toString.call(0.1, 36) should be 0.3lllllllllm. Was 0.3lll
lllllllqsn8td1p464unmi. | 236 PASS Number.prototype.toString.call(0.1, 36) is "0.3lllllllllm" |
237 FAIL Number.prototype.toString.call(new Number(0.1), 36) should be 0.3lllllllllm
. Was 0.3llllllllllqsn8td1p464unmi. | 237 PASS Number.prototype.toString.call(new Number(0.1), 36) is "0.3lllllllllm" |
238 PASS Number(-1.1).toString() is "-1.1" | 238 PASS Number(-1.1).toString() is "-1.1" |
239 PASS Number.prototype.toString.call(-1.1) is "-1.1" | 239 PASS Number.prototype.toString.call(-1.1) is "-1.1" |
240 PASS Number.prototype.toString.call(new Number(-1.1)) is "-1.1" | 240 PASS Number.prototype.toString.call(new Number(-1.1)) is "-1.1" |
241 PASS Number("-1.1").toString() is "-1.1" | 241 PASS Number("-1.1").toString() is "-1.1" |
242 PASS Number(-1.1).toString(10) is "-1.1" | 242 PASS Number(-1.1).toString(10) is "-1.1" |
243 PASS Number(-1.1).toString(2) is "-1.0001100110011001100110011001100110011001100
11001101" | 243 PASS Number(-1.1).toString(2) is "-1.0001100110011001100110011001100110011001100
11001101" |
244 PASS Number.prototype.toString.call(-1.1, 2) is "-1.0001100110011001100110011001
10011001100110011001101" | 244 PASS Number.prototype.toString.call(-1.1, 2) is "-1.0001100110011001100110011001
10011001100110011001101" |
245 PASS Number.prototype.toString.call(new Number(-1.1), 2) is "-1.0001100110011001
10011001100110011001100110011001101" | 245 PASS Number.prototype.toString.call(new Number(-1.1), 2) is "-1.0001100110011001
10011001100110011001100110011001101" |
246 FAIL Number(-1.1).toString(36) should be -1.3llllllllm. Was -1.3lllllllllxagau2c
tidswz5mi. | 246 PASS Number(-1.1).toString(36) is "-1.3llllllllm" |
247 FAIL Number.prototype.toString.call(-1.1, 36) should be -1.3llllllllm. Was -1.3l
llllllllxagau2ctidswz5mi. | 247 PASS Number.prototype.toString.call(-1.1, 36) is "-1.3llllllllm" |
248 FAIL Number.prototype.toString.call(new Number(-1.1), 36) should be -1.3llllllll
m. Was -1.3lllllllllxagau2ctidswz5mi. | 248 PASS Number.prototype.toString.call(new Number(-1.1), 36) is "-1.3llllllllm" |
249 PASS Number(1.1).toString() is "1.1" | 249 PASS Number(1.1).toString() is "1.1" |
250 PASS Number.prototype.toString.call(1.1) is "1.1" | 250 PASS Number.prototype.toString.call(1.1) is "1.1" |
251 PASS Number.prototype.toString.call(new Number(1.1)) is "1.1" | 251 PASS Number.prototype.toString.call(new Number(1.1)) is "1.1" |
252 PASS Number("1.1").toString() is "1.1" | 252 PASS Number("1.1").toString() is "1.1" |
253 PASS Number(1.1).toString(10) is "1.1" | 253 PASS Number(1.1).toString(10) is "1.1" |
254 PASS Number(1.1).toString(2) is "1.000110011001100110011001100110011001100110011
001101" | 254 PASS Number(1.1).toString(2) is "1.000110011001100110011001100110011001100110011
001101" |
255 PASS Number.prototype.toString.call(1.1, 2) is "1.000110011001100110011001100110
011001100110011001101" | 255 PASS Number.prototype.toString.call(1.1, 2) is "1.000110011001100110011001100110
011001100110011001101" |
256 PASS Number.prototype.toString.call(new Number(1.1), 2) is "1.000110011001100110
011001100110011001100110011001101" | 256 PASS Number.prototype.toString.call(new Number(1.1), 2) is "1.000110011001100110
011001100110011001100110011001101" |
257 FAIL Number(1.1).toString(36) should be 1.3llllllllm. Was 1.3lllllllllxagau2ctid
swz5mi. | 257 PASS Number(1.1).toString(36) is "1.3llllllllm" |
258 FAIL Number.prototype.toString.call(1.1, 36) should be 1.3llllllllm. Was 1.3llll
lllllxagau2ctidswz5mi. | 258 PASS Number.prototype.toString.call(1.1, 36) is "1.3llllllllm" |
259 FAIL Number.prototype.toString.call(new Number(1.1), 36) should be 1.3llllllllm.
Was 1.3lllllllllxagau2ctidswz5mi. | 259 PASS Number.prototype.toString.call(new Number(1.1), 36) is "1.3llllllllm" |
260 PASS Number(1984.1).toString() is "1984.1" | 260 PASS Number(1984.1).toString() is "1984.1" |
261 PASS Number.prototype.toString.call(1984.1) is "1984.1" | 261 PASS Number.prototype.toString.call(1984.1) is "1984.1" |
262 PASS Number.prototype.toString.call(new Number(1984.1)) is "1984.1" | 262 PASS Number.prototype.toString.call(new Number(1984.1)) is "1984.1" |
263 PASS Number("1984.1").toString() is "1984.1" | 263 PASS Number("1984.1").toString() is "1984.1" |
264 PASS Number(1984.1).toString(10) is "1984.1" | 264 PASS Number(1984.1).toString(10) is "1984.1" |
265 PASS Number(1984.1).toString(2) is "11111000000.00011001100110011001100110011001
100110011" | 265 PASS Number(1984.1).toString(2) is "11111000000.00011001100110011001100110011001
100110011" |
266 PASS Number.prototype.toString.call(1984.1, 2) is "11111000000.00011001100110011
001100110011001100110011" | 266 PASS Number.prototype.toString.call(1984.1, 2) is "11111000000.00011001100110011
001100110011001100110011" |
267 PASS Number.prototype.toString.call(new Number(1984.1), 2) is "11111000000.00011
001100110011001100110011001100110011" | 267 PASS Number.prototype.toString.call(new Number(1984.1), 2) is "11111000000.00011
001100110011001100110011001100110011" |
268 FAIL Number(1984.1).toString(36) should be 1j4.3lllllllc. Was 1j4.3lllllllcd2obs
szcl3di. | 268 PASS Number(1984.1).toString(36) is "1j4.3lllllllc" |
269 FAIL Number.prototype.toString.call(1984.1, 36) should be 1j4.3lllllllc. Was 1j4
.3lllllllcd2obsszcl3di. | 269 PASS Number.prototype.toString.call(1984.1, 36) is "1j4.3lllllllc" |
270 FAIL Number.prototype.toString.call(new Number(1984.1), 36) should be 1j4.3lllll
llc. Was 1j4.3lllllllcd2obsszcl3di. | 270 PASS Number.prototype.toString.call(new Number(1984.1), 36) is "1j4.3lllllllc" |
271 PASS Number(-1984.1).toString() is "-1984.1" | 271 PASS Number(-1984.1).toString() is "-1984.1" |
272 PASS Number.prototype.toString.call(-1984.1) is "-1984.1" | 272 PASS Number.prototype.toString.call(-1984.1) is "-1984.1" |
273 PASS Number.prototype.toString.call(new Number(-1984.1)) is "-1984.1" | 273 PASS Number.prototype.toString.call(new Number(-1984.1)) is "-1984.1" |
274 PASS Number("-1984.1").toString() is "-1984.1" | 274 PASS Number("-1984.1").toString() is "-1984.1" |
275 PASS Number(-1984.1).toString(10) is "-1984.1" | 275 PASS Number(-1984.1).toString(10) is "-1984.1" |
276 PASS Number(-1984.1).toString(2) is "-11111000000.000110011001100110011001100110
01100110011" | 276 PASS Number(-1984.1).toString(2) is "-11111000000.000110011001100110011001100110
01100110011" |
277 PASS Number.prototype.toString.call(-1984.1, 2) is "-11111000000.000110011001100
11001100110011001100110011" | 277 PASS Number.prototype.toString.call(-1984.1, 2) is "-11111000000.000110011001100
11001100110011001100110011" |
278 PASS Number.prototype.toString.call(new Number(-1984.1), 2) is "-11111000000.000
11001100110011001100110011001100110011" | 278 PASS Number.prototype.toString.call(new Number(-1984.1), 2) is "-11111000000.000
11001100110011001100110011001100110011" |
279 FAIL Number(-1984.1).toString(36) should be -1j4.3lllllllc. Was -1j4.3lllllllcd2
obsszcl3di. | 279 PASS Number(-1984.1).toString(36) is "-1j4.3lllllllc" |
280 FAIL Number.prototype.toString.call(-1984.1, 36) should be -1j4.3lllllllc. Was -
1j4.3lllllllcd2obsszcl3di. | 280 PASS Number.prototype.toString.call(-1984.1, 36) is "-1j4.3lllllllc" |
281 FAIL Number.prototype.toString.call(new Number(-1984.1), 36) should be -1j4.3lll
llllc. Was -1j4.3lllllllcd2obsszcl3di. | 281 PASS Number.prototype.toString.call(new Number(-1984.1), 36) is "-1j4.3lllllllc" |
282 PASS Number(2147483647.1).toString() is "2147483647.1" | 282 PASS Number(2147483647.1).toString() is "2147483647.1" |
283 PASS Number.prototype.toString.call(2147483647.1) is "2147483647.1" | 283 PASS Number.prototype.toString.call(2147483647.1) is "2147483647.1" |
284 PASS Number.prototype.toString.call(new Number(2147483647.1)) is "2147483647.1" | 284 PASS Number.prototype.toString.call(new Number(2147483647.1)) is "2147483647.1" |
285 PASS Number("2147483647.1").toString() is "2147483647.1" | 285 PASS Number("2147483647.1").toString() is "2147483647.1" |
286 PASS Number(2147483647.1).toString(10) is "2147483647.1" | 286 PASS Number(2147483647.1).toString(10) is "2147483647.1" |
287 PASS Number(2147483647.1).toString(2) is "1111111111111111111111111111111.000110
011001100110011" | 287 PASS Number(2147483647.1).toString(2) is "1111111111111111111111111111111.000110
011001100110011" |
288 PASS Number.prototype.toString.call(2147483647.1, 2) is "11111111111111111111111
11111111.000110011001100110011" | 288 PASS Number.prototype.toString.call(2147483647.1, 2) is "11111111111111111111111
11111111.000110011001100110011" |
289 PASS Number.prototype.toString.call(new Number(2147483647.1), 2) is "11111111111
11111111111111111111.000110011001100110011" | 289 PASS Number.prototype.toString.call(new Number(2147483647.1), 2) is "11111111111
11111111111111111111.000110011001100110011" |
290 FAIL Number(2147483647.1).toString(36) should be zik0zj.3lllg. Was zik0zj.3lllfu
07ldi. | 290 PASS Number(2147483647.1).toString(36) is "zik0zj.3lllg" |
291 FAIL Number.prototype.toString.call(2147483647.1, 36) should be zik0zj.3lllg. Wa
s zik0zj.3lllfu07ldi. | 291 PASS Number.prototype.toString.call(2147483647.1, 36) is "zik0zj.3lllg" |
292 FAIL Number.prototype.toString.call(new Number(2147483647.1), 36) should be zik0
zj.3lllg. Was zik0zj.3lllfu07ldi. | 292 PASS Number.prototype.toString.call(new Number(2147483647.1), 36) is "zik0zj.3ll
lg" |
293 PASS Number(-2147483648.1).toString() is "-2147483648.1" | 293 PASS Number(-2147483648.1).toString() is "-2147483648.1" |
294 PASS Number.prototype.toString.call(-2147483648.1) is "-2147483648.1" | 294 PASS Number.prototype.toString.call(-2147483648.1) is "-2147483648.1" |
295 PASS Number.prototype.toString.call(new Number(-2147483648.1)) is "-2147483648.1
" | 295 PASS Number.prototype.toString.call(new Number(-2147483648.1)) is "-2147483648.1
" |
296 PASS Number("-2147483648.1").toString() is "-2147483648.1" | 296 PASS Number("-2147483648.1").toString() is "-2147483648.1" |
297 PASS Number(-2147483648.1).toString(10) is "-2147483648.1" | 297 PASS Number(-2147483648.1).toString(10) is "-2147483648.1" |
298 PASS Number(-2147483648.1).toString(2) is "-10000000000000000000000000000000.000
110011001100110011" | 298 PASS Number(-2147483648.1).toString(2) is "-10000000000000000000000000000000.000
110011001100110011" |
299 PASS Number.prototype.toString.call(-2147483648.1, 2) is "-100000000000000000000
00000000000.000110011001100110011" | 299 PASS Number.prototype.toString.call(-2147483648.1, 2) is "-100000000000000000000
00000000000.000110011001100110011" |
300 PASS Number.prototype.toString.call(new Number(-2147483648.1), 2) is "-100000000
00000000000000000000000.000110011001100110011" | 300 PASS Number.prototype.toString.call(new Number(-2147483648.1), 2) is "-100000000
00000000000000000000000.000110011001100110011" |
301 FAIL Number(-2147483648.1).toString(36) should be -zik0zk.3lllg. Was -zik0zk.3ll
lfu07ldi. | 301 PASS Number(-2147483648.1).toString(36) is "-zik0zk.3lllg" |
302 FAIL Number.prototype.toString.call(-2147483648.1, 36) should be -zik0zk.3lllg.
Was -zik0zk.3lllfu07ldi. | 302 PASS Number.prototype.toString.call(-2147483648.1, 36) is "-zik0zk.3lllg" |
303 FAIL Number.prototype.toString.call(new Number(-2147483648.1), 36) should be -zi
k0zk.3lllg. Was -zik0zk.3lllfu07ldi. | 303 PASS Number.prototype.toString.call(new Number(-2147483648.1), 36) is "-zik0zk.3
lllg" |
304 PASS Number(9007199254740992).toString() is "9007199254740992" | 304 PASS Number(9007199254740992).toString() is "9007199254740992" |
305 PASS Number.prototype.toString.call(9007199254740992) is "9007199254740992" | 305 PASS Number.prototype.toString.call(9007199254740992) is "9007199254740992" |
306 PASS Number.prototype.toString.call(new Number(9007199254740992)) is "9007199254
740992" | 306 PASS Number.prototype.toString.call(new Number(9007199254740992)) is "9007199254
740992" |
307 PASS Number("9007199254740992").toString() is "9007199254740992" | 307 PASS Number("9007199254740992").toString() is "9007199254740992" |
308 PASS Number(9007199254740992).toString(10) is "9007199254740992" | 308 PASS Number(9007199254740992).toString(10) is "9007199254740992" |
309 PASS Number(9007199254740992).toString(2) is "1000000000000000000000000000000000
00000000000000000000" | 309 PASS Number(9007199254740992).toString(2) is "1000000000000000000000000000000000
00000000000000000000" |
310 PASS Number.prototype.toString.call(9007199254740992, 2) is "1000000000000000000
00000000000000000000000000000000000" | 310 PASS Number.prototype.toString.call(9007199254740992, 2) is "1000000000000000000
00000000000000000000000000000000000" |
311 PASS Number.prototype.toString.call(new Number(9007199254740992), 2) is "1000000
00000000000000000000000000000000000000000000000" | 311 PASS Number.prototype.toString.call(new Number(9007199254740992), 2) is "1000000
00000000000000000000000000000000000000000000000" |
312 PASS Number(9007199254740992).toString(36) is "2gosa7pa2gw" | 312 PASS Number(9007199254740992).toString(36) is "2gosa7pa2gw" |
313 PASS Number.prototype.toString.call(9007199254740992, 36) is "2gosa7pa2gw" | 313 PASS Number.prototype.toString.call(9007199254740992, 36) is "2gosa7pa2gw" |
314 PASS Number.prototype.toString.call(new Number(9007199254740992), 36) is "2gosa7
pa2gw" | 314 PASS Number.prototype.toString.call(new Number(9007199254740992), 36) is "2gosa7
pa2gw" |
315 PASS Number(-9007199254740992).toString() is "-9007199254740992" | 315 PASS Number(-9007199254740992).toString() is "-9007199254740992" |
316 PASS Number.prototype.toString.call(-9007199254740992) is "-9007199254740992" | 316 PASS Number.prototype.toString.call(-9007199254740992) is "-9007199254740992" |
317 PASS Number.prototype.toString.call(new Number(-9007199254740992)) is "-90071992
54740992" | 317 PASS Number.prototype.toString.call(new Number(-9007199254740992)) is "-90071992
54740992" |
318 PASS Number("-9007199254740992").toString() is "-9007199254740992" | 318 PASS Number("-9007199254740992").toString() is "-9007199254740992" |
319 PASS Number(-9007199254740992).toString(10) is "-9007199254740992" | 319 PASS Number(-9007199254740992).toString(10) is "-9007199254740992" |
320 PASS Number(-9007199254740992).toString(2) is "-10000000000000000000000000000000
0000000000000000000000" | 320 PASS Number(-9007199254740992).toString(2) is "-10000000000000000000000000000000
0000000000000000000000" |
321 PASS Number.prototype.toString.call(-9007199254740992, 2) is "-10000000000000000
0000000000000000000000000000000000000" | 321 PASS Number.prototype.toString.call(-9007199254740992, 2) is "-10000000000000000
0000000000000000000000000000000000000" |
322 PASS Number.prototype.toString.call(new Number(-9007199254740992), 2) is "-10000
0000000000000000000000000000000000000000000000000" | 322 PASS Number.prototype.toString.call(new Number(-9007199254740992), 2) is "-10000
0000000000000000000000000000000000000000000000000" |
323 PASS Number(-9007199254740992).toString(36) is "-2gosa7pa2gw" | 323 PASS Number(-9007199254740992).toString(36) is "-2gosa7pa2gw" |
324 PASS Number.prototype.toString.call(-9007199254740992, 36) is "-2gosa7pa2gw" | 324 PASS Number.prototype.toString.call(-9007199254740992, 36) is "-2gosa7pa2gw" |
325 PASS Number.prototype.toString.call(new Number(-9007199254740992), 36) is "-2gos
a7pa2gw" | 325 PASS Number.prototype.toString.call(new Number(-9007199254740992), 36) is "-2gos
a7pa2gw" |
326 PASS successfullyParsed is true | 326 PASS successfullyParsed is true |
327 | 327 |
328 TEST COMPLETE | 328 TEST COMPLETE |
329 | 329 |
OLD | NEW |