@@ -343,184 +343,168 @@ reveal_type(c8 / b_) # E: {complex64}
343
343
344
344
# Complex
345
345
346
- reveal_type (c16 + f16 ) # E: {complex256}
346
+ reveal_type (c16 + f16 ) # E: complexfloating[Union[_64Bit, _128Bit], Union[_64Bit, _128Bit]]
347
347
reveal_type (c16 + c16 ) # E: {complex128}
348
348
reveal_type (c16 + f8 ) # E: {complex128}
349
349
reveal_type (c16 + i8 ) # E: {complex128}
350
- reveal_type (c16 + c8 ) # E: {complex128}
351
- reveal_type (c16 + f4 ) # E: {complex128}
352
- reveal_type (c16 + i4 ) # E: {complex128}
350
+ reveal_type (c16 + c8 ) # E: complexfloating[Union[_64Bit, _32Bit], Union[_64Bit, _32Bit]]
351
+ reveal_type (c16 + f4 ) # E: complexfloating[Union[_64Bit, _32Bit], Union[_64Bit, _32Bit]]
352
+ reveal_type (c16 + i4 ) # E: complexfloating[Union[_64Bit, _32Bit], Union[_64Bit, _32Bit]]
353
353
reveal_type (c16 + b_ ) # E: {complex128}
354
354
reveal_type (c16 + b ) # E: {complex128}
355
355
reveal_type (c16 + c ) # E: {complex128}
356
356
reveal_type (c16 + f ) # E: {complex128}
357
- reveal_type (c16 + i ) # E: {complex128}
358
357
reveal_type (c16 + AR_f ) # E: Any
359
358
360
- reveal_type (f16 + c16 ) # E: {complex256}
359
+ reveal_type (f16 + c16 ) # E: complexfloating[Union[_64Bit, _128Bit], Union[_64Bit, _128Bit]]
361
360
reveal_type (c16 + c16 ) # E: {complex128}
362
361
reveal_type (f8 + c16 ) # E: {complex128}
363
362
reveal_type (i8 + c16 ) # E: {complex128}
364
- reveal_type (c8 + c16 ) # E: {complex128}
365
- reveal_type (f4 + c16 ) # E: {complex128}
366
- reveal_type (i4 + c16 ) # E: {complex128}
363
+ reveal_type (c8 + c16 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
364
+ reveal_type (f4 + c16 ) # E: complexfloating[Union[_64Bit, _32Bit], Union[_64Bit, _32Bit]]
365
+ reveal_type (i4 + c16 ) # E: complexfloating[Union[_64Bit, _32Bit], Union[_64Bit, _32Bit]]
367
366
reveal_type (b_ + c16 ) # E: {complex128}
368
367
reveal_type (b + c16 ) # E: {complex128}
369
368
reveal_type (c + c16 ) # E: {complex128}
370
369
reveal_type (f + c16 ) # E: {complex128}
371
- reveal_type (i + c16 ) # E: {complex128}
372
370
reveal_type (AR_f + c16 ) # E: Any
373
371
374
- reveal_type (c8 + f16 ) # E: {complex256}
375
- reveal_type (c8 + c16 ) # E: {complex128}
376
- reveal_type (c8 + f8 ) # E: {complex128}
377
- reveal_type (c8 + i8 ) # E: {complex128}
372
+ reveal_type (c8 + f16 ) # E: complexfloating[Union[_32Bit, _128Bit], Union[_32Bit, _128Bit]]
373
+ reveal_type (c8 + c16 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
374
+ reveal_type (c8 + f8 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
375
+ reveal_type (c8 + i8 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
378
376
reveal_type (c8 + c8 ) # E: {complex64}
379
377
reveal_type (c8 + f4 ) # E: {complex64}
380
378
reveal_type (c8 + i4 ) # E: {complex64}
381
379
reveal_type (c8 + b_ ) # E: {complex64}
382
380
reveal_type (c8 + b ) # E: {complex64}
383
- reveal_type (c8 + c ) # E: {complex128}
384
- reveal_type (c8 + f ) # E: {complex128}
385
- reveal_type (c8 + i ) # E: complexfloating[{_NBitInt}, {_NBitInt}]
381
+ reveal_type (c8 + c ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
382
+ reveal_type (c8 + f ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
386
383
reveal_type (c8 + AR_f ) # E: Any
387
384
388
- reveal_type (f16 + c8 ) # E: {complex256}
389
- reveal_type (c16 + c8 ) # E: {complex128}
390
- reveal_type (f8 + c8 ) # E: {complex128}
391
- reveal_type (i8 + c8 ) # E: {complex128}
385
+ reveal_type (f16 + c8 ) # E: complexfloating[Union[_32Bit, _128Bit], Union[_32Bit, _128Bit]]
386
+ reveal_type (c16 + c8 ) # E: complexfloating[Union[_64Bit, _32Bit], Union[_64Bit, _32Bit]]
387
+ reveal_type (f8 + c8 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
388
+ reveal_type (i8 + c8 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
392
389
reveal_type (c8 + c8 ) # E: {complex64}
393
390
reveal_type (f4 + c8 ) # E: {complex64}
394
391
reveal_type (i4 + c8 ) # E: {complex64}
395
392
reveal_type (b_ + c8 ) # E: {complex64}
396
393
reveal_type (b + c8 ) # E: {complex64}
397
- reveal_type (c + c8 ) # E: {complex128}
398
- reveal_type (f + c8 ) # E: {complex128}
399
- reveal_type (i + c8 ) # E: complexfloating[{_NBitInt}, {_NBitInt}]
394
+ reveal_type (c + c8 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
395
+ reveal_type (f + c8 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
400
396
reveal_type (AR_f + c8 ) # E: Any
401
397
402
398
# Float
403
399
404
- reveal_type (f8 + f16 ) # E: {float128}
400
+ reveal_type (f8 + f16 ) # E: floating[Union[_64Bit, _128Bit]]
405
401
reveal_type (f8 + f8 ) # E: {float64}
406
402
reveal_type (f8 + i8 ) # E: {float64}
407
- reveal_type (f8 + f4 ) # E: {float64}
408
- reveal_type (f8 + i4 ) # E: {float64}
403
+ reveal_type (f8 + f4 ) # E: floating[Union[_64Bit, _32Bit]]
404
+ reveal_type (f8 + i4 ) # E: floating[Union[_64Bit, _32Bit]]
409
405
reveal_type (f8 + b_ ) # E: {float64}
410
406
reveal_type (f8 + b ) # E: {float64}
411
407
reveal_type (f8 + c ) # E: {complex128}
412
408
reveal_type (f8 + f ) # E: {float64}
413
- reveal_type (f8 + i ) # E: {float64}
414
409
reveal_type (f8 + AR_f ) # E: Any
415
410
416
- reveal_type (f16 + f8 ) # E: {float128}
411
+ reveal_type (f16 + f8 ) # E: floating[Union[_128Bit, _64Bit]]
417
412
reveal_type (f8 + f8 ) # E: {float64}
418
413
reveal_type (i8 + f8 ) # E: {float64}
419
- reveal_type (f4 + f8 ) # E: {float64}
420
- reveal_type (i4 + f8 ) # E: {float64}
414
+ reveal_type (f4 + f8 ) # E: floating[Union[_32Bit, _64Bit]]
415
+ reveal_type (i4 + f8 ) # E: floating[Union[_64Bit, _32Bit]]
421
416
reveal_type (b_ + f8 ) # E: {float64}
422
417
reveal_type (b + f8 ) # E: {float64}
423
418
reveal_type (c + f8 ) # E: {complex128}
424
419
reveal_type (f + f8 ) # E: {float64}
425
- reveal_type (i + f8 ) # E: {float64}
426
420
reveal_type (AR_f + f8 ) # E: Any
427
421
428
- reveal_type (f4 + f16 ) # E: {float128}
429
- reveal_type (f4 + f8 ) # E: {float64}
430
- reveal_type (f4 + i8 ) # E: {float64}
422
+ reveal_type (f4 + f16 ) # E: floating[Union[_32Bit, _128Bit]]
423
+ reveal_type (f4 + f8 ) # E: floating[Union[_32Bit, _64Bit]]
424
+ reveal_type (f4 + i8 ) # E: floating[Union[_32Bit, _64Bit]]
431
425
reveal_type (f4 + f4 ) # E: {float32}
432
426
reveal_type (f4 + i4 ) # E: {float32}
433
427
reveal_type (f4 + b_ ) # E: {float32}
434
428
reveal_type (f4 + b ) # E: {float32}
435
- reveal_type (f4 + c ) # E: {complex128}
436
- reveal_type (f4 + f ) # E: {float64}
437
- reveal_type (f4 + i ) # E: floating[{_NBitInt}]
429
+ reveal_type (f4 + c ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
430
+ reveal_type (f4 + f ) # E: floating[Union[_32Bit, _64Bit]]
438
431
reveal_type (f4 + AR_f ) # E: Any
439
432
440
- reveal_type (f16 + f4 ) # E: {float128}
441
- reveal_type (f8 + f4 ) # E: {float64}
442
- reveal_type (i8 + f4 ) # E: {float64}
433
+ reveal_type (f16 + f4 ) # E: floating[Union[_128Bit, _32Bit]]
434
+ reveal_type (f8 + f4 ) # E: floating[Union[_64Bit, _32Bit]]
435
+ reveal_type (i8 + f4 ) # E: floating[Union[_32Bit, _64Bit]]
443
436
reveal_type (f4 + f4 ) # E: {float32}
444
437
reveal_type (i4 + f4 ) # E: {float32}
445
438
reveal_type (b_ + f4 ) # E: {float32}
446
439
reveal_type (b + f4 ) # E: {float32}
447
- reveal_type (c + f4 ) # E: {complex128}
448
- reveal_type (f + f4 ) # E: {float64}
449
- reveal_type (i + f4 ) # E: floating[{_NBitInt}]
440
+ reveal_type (c + f4 ) # E: complexfloating[Union[_32Bit, _64Bit], Union[_32Bit, _64Bit]]
441
+ reveal_type (f + f4 ) # E: floating[Union[_32Bit, _64Bit]]
450
442
reveal_type (AR_f + f4 ) # E: Any
451
443
452
444
# Int
453
445
454
446
reveal_type (i8 + i8 ) # E: {int64}
455
447
reveal_type (i8 + u8 ) # E: Any
456
- reveal_type (i8 + i4 ) # E: {int64}
448
+ reveal_type (i8 + i4 ) # E: signedinteger[Union[_64Bit, _32Bit]]
457
449
reveal_type (i8 + u4 ) # E: Any
458
450
reveal_type (i8 + b_ ) # E: {int64}
459
451
reveal_type (i8 + b ) # E: {int64}
460
452
reveal_type (i8 + c ) # E: {complex128}
461
453
reveal_type (i8 + f ) # E: {float64}
462
- reveal_type (i8 + i ) # E: {int64}
463
454
reveal_type (i8 + AR_f ) # E: Any
464
455
465
456
reveal_type (u8 + u8 ) # E: {uint64}
466
457
reveal_type (u8 + i4 ) # E: Any
467
- reveal_type (u8 + u4 ) # E: {uint64}
458
+ reveal_type (u8 + u4 ) # E: signedinteger[Union[_64Bit, _32Bit]]
468
459
reveal_type (u8 + b_ ) # E: {uint64}
469
460
reveal_type (u8 + b ) # E: {uint64}
470
461
reveal_type (u8 + c ) # E: {complex128}
471
462
reveal_type (u8 + f ) # E: {float64}
472
- reveal_type (u8 + i ) # E: Any
473
463
reveal_type (u8 + AR_f ) # E: Any
474
464
475
465
reveal_type (i8 + i8 ) # E: {int64}
476
466
reveal_type (u8 + i8 ) # E: Any
477
- reveal_type (i4 + i8 ) # E: {int64}
467
+ reveal_type (i4 + i8 ) # E: signedinteger[Union[_32Bit, _64Bit]]
478
468
reveal_type (u4 + i8 ) # E: Any
479
469
reveal_type (b_ + i8 ) # E: {int64}
480
470
reveal_type (b + i8 ) # E: {int64}
481
471
reveal_type (c + i8 ) # E: {complex128}
482
472
reveal_type (f + i8 ) # E: {float64}
483
- reveal_type (i + i8 ) # E: {int64}
484
473
reveal_type (AR_f + i8 ) # E: Any
485
474
486
475
reveal_type (u8 + u8 ) # E: {uint64}
487
476
reveal_type (i4 + u8 ) # E: Any
488
- reveal_type (u4 + u8 ) # E: {uint64}
477
+ reveal_type (u4 + u8 ) # E: unsignedinteger[Union[_32Bit, _64Bit]]
489
478
reveal_type (b_ + u8 ) # E: {uint64}
490
479
reveal_type (b + u8 ) # E: {uint64}
491
480
reveal_type (c + u8 ) # E: {complex128}
492
481
reveal_type (f + u8 ) # E: {float64}
493
- reveal_type (i + u8 ) # E: Any
494
482
reveal_type (AR_f + u8 ) # E: Any
495
483
496
- reveal_type (i4 + i8 ) # E: {int64}
484
+ reveal_type (i4 + i8 ) # E: signedinteger[Union[_32Bit, _64Bit]]
497
485
reveal_type (i4 + i4 ) # E: {int32}
498
- reveal_type (i4 + i ) # E: {int_}
499
486
reveal_type (i4 + b_ ) # E: {int32}
500
487
reveal_type (i4 + b ) # E: {int32}
501
488
reveal_type (i4 + AR_f ) # E: Any
502
489
503
490
reveal_type (u4 + i8 ) # E: Any
504
491
reveal_type (u4 + i4 ) # E: Any
505
- reveal_type (u4 + u8 ) # E: {uint64}
492
+ reveal_type (u4 + u8 ) # E: unsignedinteger[Union[_32Bit, _64Bit]]
506
493
reveal_type (u4 + u4 ) # E: {uint32}
507
- reveal_type (u4 + i ) # E: Any
508
494
reveal_type (u4 + b_ ) # E: {uint32}
509
495
reveal_type (u4 + b ) # E: {uint32}
510
496
reveal_type (u4 + AR_f ) # E: Any
511
497
512
- reveal_type (i8 + i4 ) # E: {int64}
498
+ reveal_type (i8 + i4 ) # E: signedinteger[Union[_64Bit, _32Bit]]
513
499
reveal_type (i4 + i4 ) # E: {int32}
514
- reveal_type (i + i4 ) # E: {int_}
515
500
reveal_type (b_ + i4 ) # E: {int32}
516
501
reveal_type (b + i4 ) # E: {int32}
517
502
reveal_type (AR_f + i4 ) # E: Any
518
503
519
504
reveal_type (i8 + u4 ) # E: Any
520
505
reveal_type (i4 + u4 ) # E: Any
521
- reveal_type (u8 + u4 ) # E: {uint64}
506
+ reveal_type (u8 + u4 ) # E: unsignedinteger[Union[_64Bit, _32Bit]]
522
507
reveal_type (u4 + u4 ) # E: {uint32}
523
508
reveal_type (b_ + u4 ) # E: {uint32}
524
509
reveal_type (b + u4 ) # E: {uint32}
525
- reveal_type (i + u4 ) # E: Any
526
510
reveal_type (AR_f + u4 ) # E: Any
0 commit comments