github.com/mdempsky/go@v0.0.0-20151201204031-5dd372bd1e70/test/cmplxdivide1.go (about)

     1  // skip
     2  // # generated by cmplxdivide.c
     3  
     4  package main
     5  var tests = []Test{
     6  	Test{complex(0, 0), complex(0, 0), complex(-nan, -nan)},
     7  	Test{complex(0, 0), complex(0, 1), complex(0, 0)},
     8  	Test{complex(0, 0), complex(0, -1), complex(negzero, 0)},
     9  	Test{complex(0, 0), complex(0, 2), complex(0, 0)},
    10  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    11  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    12  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    13  	Test{complex(0, 0), complex(1, 0), complex(0, 0)},
    14  	Test{complex(0, 0), complex(1, 1), complex(0, 0)},
    15  	Test{complex(0, 0), complex(1, -1), complex(0, 0)},
    16  	Test{complex(0, 0), complex(1, 2), complex(0, 0)},
    17  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    18  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    19  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    20  	Test{complex(0, 0), complex(-1, 0), complex(negzero, negzero)},
    21  	Test{complex(0, 0), complex(-1, 1), complex(negzero, negzero)},
    22  	Test{complex(0, 0), complex(-1, -1), complex(negzero, negzero)},
    23  	Test{complex(0, 0), complex(-1, 2), complex(0, negzero)},
    24  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    25  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    26  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    27  	Test{complex(0, 0), complex(2, 0), complex(0, 0)},
    28  	Test{complex(0, 0), complex(2, 1), complex(0, 0)},
    29  	Test{complex(0, 0), complex(2, -1), complex(0, 0)},
    30  	Test{complex(0, 0), complex(2, 2), complex(0, 0)},
    31  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    32  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    33  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    34  	Test{complex(0, 0), complex(nan, 0), complex(nan, nan)},
    35  	Test{complex(0, 0), complex(nan, 1), complex(nan, nan)},
    36  	Test{complex(0, 0), complex(nan, -1), complex(nan, nan)},
    37  	Test{complex(0, 0), complex(nan, 2), complex(nan, nan)},
    38  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    39  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    40  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    41  	Test{complex(0, 0), complex(inf, 0), complex(0, 0)},
    42  	Test{complex(0, 0), complex(inf, 1), complex(0, 0)},
    43  	Test{complex(0, 0), complex(inf, -1), complex(0, 0)},
    44  	Test{complex(0, 0), complex(inf, 2), complex(0, 0)},
    45  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    46  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    47  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    48  	Test{complex(0, 0), complex(-inf, 0), complex(negzero, negzero)},
    49  	Test{complex(0, 0), complex(-inf, 1), complex(negzero, negzero)},
    50  	Test{complex(0, 0), complex(-inf, -1), complex(negzero, negzero)},
    51  	Test{complex(0, 0), complex(-inf, 2), complex(negzero, negzero)},
    52  	Test{complex(0, 0), complex(nan, nan), complex(nan, nan)},
    53  	Test{complex(0, 0), complex(-nan, inf), complex(0, negzero)},
    54  	Test{complex(0, 0), complex(-nan, -inf), complex(negzero, 0)},
    55  	Test{complex(0, 1), complex(0, 0), complex(-nan, inf)},
    56  	Test{complex(0, 1), complex(0, 1), complex(1, 0)},
    57  	Test{complex(0, 1), complex(0, -1), complex(-1, 0)},
    58  	Test{complex(0, 1), complex(0, 2), complex(0.5, 0)},
    59  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
    60  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
    61  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
    62  	Test{complex(0, 1), complex(1, 0), complex(0, 1)},
    63  	Test{complex(0, 1), complex(1, 1), complex(0.5, 0.5)},
    64  	Test{complex(0, 1), complex(1, -1), complex(-0.5, 0.5)},
    65  	Test{complex(0, 1), complex(1, 2), complex(0.4, 0.2)},
    66  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
    67  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
    68  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
    69  	Test{complex(0, 1), complex(-1, 0), complex(negzero, -1)},
    70  	Test{complex(0, 1), complex(-1, 1), complex(0.5, -0.5)},
    71  	Test{complex(0, 1), complex(-1, -1), complex(-0.5, -0.5)},
    72  	Test{complex(0, 1), complex(-1, 2), complex(0.4, -0.2)},
    73  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
    74  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
    75  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
    76  	Test{complex(0, 1), complex(2, 0), complex(0, 0.5)},
    77  	Test{complex(0, 1), complex(2, 1), complex(0.2, 0.4)},
    78  	Test{complex(0, 1), complex(2, -1), complex(-0.2, 0.4)},
    79  	Test{complex(0, 1), complex(2, 2), complex(0.25, 0.25)},
    80  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
    81  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
    82  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
    83  	Test{complex(0, 1), complex(nan, 0), complex(nan, nan)},
    84  	Test{complex(0, 1), complex(nan, 1), complex(nan, nan)},
    85  	Test{complex(0, 1), complex(nan, -1), complex(nan, nan)},
    86  	Test{complex(0, 1), complex(nan, 2), complex(nan, nan)},
    87  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
    88  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
    89  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
    90  	Test{complex(0, 1), complex(inf, 0), complex(0, 0)},
    91  	Test{complex(0, 1), complex(inf, 1), complex(0, 0)},
    92  	Test{complex(0, 1), complex(inf, -1), complex(0, 0)},
    93  	Test{complex(0, 1), complex(inf, 2), complex(0, 0)},
    94  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
    95  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
    96  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
    97  	Test{complex(0, 1), complex(-inf, 0), complex(negzero, negzero)},
    98  	Test{complex(0, 1), complex(-inf, 1), complex(negzero, negzero)},
    99  	Test{complex(0, 1), complex(-inf, -1), complex(negzero, negzero)},
   100  	Test{complex(0, 1), complex(-inf, 2), complex(negzero, negzero)},
   101  	Test{complex(0, 1), complex(nan, nan), complex(nan, nan)},
   102  	Test{complex(0, 1), complex(-nan, inf), complex(0, negzero)},
   103  	Test{complex(0, 1), complex(-nan, -inf), complex(negzero, 0)},
   104  	Test{complex(0, -1), complex(0, 0), complex(-nan, -inf)},
   105  	Test{complex(0, -1), complex(0, 1), complex(-1, negzero)},
   106  	Test{complex(0, -1), complex(0, -1), complex(1, negzero)},
   107  	Test{complex(0, -1), complex(0, 2), complex(-0.5, negzero)},
   108  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   109  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   110  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   111  	Test{complex(0, -1), complex(1, 0), complex(0, -1)},
   112  	Test{complex(0, -1), complex(1, 1), complex(-0.5, -0.5)},
   113  	Test{complex(0, -1), complex(1, -1), complex(0.5, -0.5)},
   114  	Test{complex(0, -1), complex(1, 2), complex(-0.4, -0.2)},
   115  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   116  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   117  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   118  	Test{complex(0, -1), complex(-1, 0), complex(negzero, 1)},
   119  	Test{complex(0, -1), complex(-1, 1), complex(-0.5, 0.5)},
   120  	Test{complex(0, -1), complex(-1, -1), complex(0.5, 0.5)},
   121  	Test{complex(0, -1), complex(-1, 2), complex(-0.4, 0.2)},
   122  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   123  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   124  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   125  	Test{complex(0, -1), complex(2, 0), complex(0, -0.5)},
   126  	Test{complex(0, -1), complex(2, 1), complex(-0.2, -0.4)},
   127  	Test{complex(0, -1), complex(2, -1), complex(0.2, -0.4)},
   128  	Test{complex(0, -1), complex(2, 2), complex(-0.25, -0.25)},
   129  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   130  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   131  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   132  	Test{complex(0, -1), complex(nan, 0), complex(nan, nan)},
   133  	Test{complex(0, -1), complex(nan, 1), complex(nan, nan)},
   134  	Test{complex(0, -1), complex(nan, -1), complex(nan, nan)},
   135  	Test{complex(0, -1), complex(nan, 2), complex(nan, nan)},
   136  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   137  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   138  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   139  	Test{complex(0, -1), complex(inf, 0), complex(0, negzero)},
   140  	Test{complex(0, -1), complex(inf, 1), complex(0, negzero)},
   141  	Test{complex(0, -1), complex(inf, -1), complex(0, negzero)},
   142  	Test{complex(0, -1), complex(inf, 2), complex(0, negzero)},
   143  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   144  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   145  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   146  	Test{complex(0, -1), complex(-inf, 0), complex(negzero, 0)},
   147  	Test{complex(0, -1), complex(-inf, 1), complex(negzero, 0)},
   148  	Test{complex(0, -1), complex(-inf, -1), complex(negzero, 0)},
   149  	Test{complex(0, -1), complex(-inf, 2), complex(negzero, 0)},
   150  	Test{complex(0, -1), complex(nan, nan), complex(nan, nan)},
   151  	Test{complex(0, -1), complex(-nan, inf), complex(negzero, 0)},
   152  	Test{complex(0, -1), complex(-nan, -inf), complex(0, 0)},
   153  	Test{complex(0, 2), complex(0, 0), complex(-nan, inf)},
   154  	Test{complex(0, 2), complex(0, 1), complex(2, 0)},
   155  	Test{complex(0, 2), complex(0, -1), complex(-2, 0)},
   156  	Test{complex(0, 2), complex(0, 2), complex(1, 0)},
   157  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   158  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   159  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   160  	Test{complex(0, 2), complex(1, 0), complex(0, 2)},
   161  	Test{complex(0, 2), complex(1, 1), complex(1, 1)},
   162  	Test{complex(0, 2), complex(1, -1), complex(-1, 1)},
   163  	Test{complex(0, 2), complex(1, 2), complex(0.8, 0.4)},
   164  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   165  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   166  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   167  	Test{complex(0, 2), complex(-1, 0), complex(negzero, -2)},
   168  	Test{complex(0, 2), complex(-1, 1), complex(1, -1)},
   169  	Test{complex(0, 2), complex(-1, -1), complex(-1, -1)},
   170  	Test{complex(0, 2), complex(-1, 2), complex(0.8, -0.4)},
   171  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   172  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   173  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   174  	Test{complex(0, 2), complex(2, 0), complex(0, 1)},
   175  	Test{complex(0, 2), complex(2, 1), complex(0.4, 0.8)},
   176  	Test{complex(0, 2), complex(2, -1), complex(-0.4, 0.8)},
   177  	Test{complex(0, 2), complex(2, 2), complex(0.5, 0.5)},
   178  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   179  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   180  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   181  	Test{complex(0, 2), complex(nan, 0), complex(nan, nan)},
   182  	Test{complex(0, 2), complex(nan, 1), complex(nan, nan)},
   183  	Test{complex(0, 2), complex(nan, -1), complex(nan, nan)},
   184  	Test{complex(0, 2), complex(nan, 2), complex(nan, nan)},
   185  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   186  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   187  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   188  	Test{complex(0, 2), complex(inf, 0), complex(0, 0)},
   189  	Test{complex(0, 2), complex(inf, 1), complex(0, 0)},
   190  	Test{complex(0, 2), complex(inf, -1), complex(0, 0)},
   191  	Test{complex(0, 2), complex(inf, 2), complex(0, 0)},
   192  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   193  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   194  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   195  	Test{complex(0, 2), complex(-inf, 0), complex(negzero, negzero)},
   196  	Test{complex(0, 2), complex(-inf, 1), complex(negzero, negzero)},
   197  	Test{complex(0, 2), complex(-inf, -1), complex(negzero, negzero)},
   198  	Test{complex(0, 2), complex(-inf, 2), complex(negzero, negzero)},
   199  	Test{complex(0, 2), complex(nan, nan), complex(nan, nan)},
   200  	Test{complex(0, 2), complex(-nan, inf), complex(0, negzero)},
   201  	Test{complex(0, 2), complex(-nan, -inf), complex(negzero, 0)},
   202  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
   203  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
   204  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
   205  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
   206  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   207  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   208  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   209  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
   210  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
   211  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
   212  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
   213  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   214  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   215  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   216  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
   217  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
   218  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
   219  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
   220  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   221  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   222  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   223  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
   224  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
   225  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
   226  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
   227  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   228  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   229  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   230  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
   231  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
   232  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
   233  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
   234  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   235  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   236  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   237  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
   238  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
   239  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
   240  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
   241  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   242  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   243  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   244  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
   245  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
   246  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
   247  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
   248  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   249  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   250  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   251  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
   252  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
   253  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
   254  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
   255  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   256  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   257  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   258  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
   259  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
   260  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
   261  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
   262  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   263  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   264  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   265  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
   266  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
   267  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
   268  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
   269  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   270  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   271  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   272  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
   273  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
   274  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
   275  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
   276  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   277  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   278  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   279  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
   280  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
   281  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
   282  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
   283  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   284  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   285  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   286  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
   287  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
   288  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
   289  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
   290  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   291  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   292  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   293  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
   294  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
   295  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
   296  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
   297  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   298  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   299  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   300  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
   301  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
   302  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
   303  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
   304  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   305  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   306  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   307  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
   308  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
   309  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
   310  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
   311  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   312  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   313  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   314  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
   315  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
   316  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
   317  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
   318  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   319  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   320  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   321  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
   322  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
   323  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
   324  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
   325  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   326  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   327  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   328  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
   329  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
   330  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
   331  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
   332  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   333  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   334  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   335  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
   336  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
   337  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
   338  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
   339  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   340  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   341  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   342  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
   343  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
   344  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
   345  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
   346  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   347  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   348  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   349  	Test{complex(1, 0), complex(0, 0), complex(inf, -nan)},
   350  	Test{complex(1, 0), complex(0, 1), complex(0, -1)},
   351  	Test{complex(1, 0), complex(0, -1), complex(negzero, 1)},
   352  	Test{complex(1, 0), complex(0, 2), complex(0, -0.5)},
   353  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   354  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   355  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   356  	Test{complex(1, 0), complex(1, 0), complex(1, 0)},
   357  	Test{complex(1, 0), complex(1, 1), complex(0.5, -0.5)},
   358  	Test{complex(1, 0), complex(1, -1), complex(0.5, 0.5)},
   359  	Test{complex(1, 0), complex(1, 2), complex(0.2, -0.4)},
   360  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   361  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   362  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   363  	Test{complex(1, 0), complex(-1, 0), complex(-1, negzero)},
   364  	Test{complex(1, 0), complex(-1, 1), complex(-0.5, -0.5)},
   365  	Test{complex(1, 0), complex(-1, -1), complex(-0.5, 0.5)},
   366  	Test{complex(1, 0), complex(-1, 2), complex(-0.2, -0.4)},
   367  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   368  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   369  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   370  	Test{complex(1, 0), complex(2, 0), complex(0.5, 0)},
   371  	Test{complex(1, 0), complex(2, 1), complex(0.4, -0.2)},
   372  	Test{complex(1, 0), complex(2, -1), complex(0.4, 0.2)},
   373  	Test{complex(1, 0), complex(2, 2), complex(0.25, -0.25)},
   374  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   375  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   376  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   377  	Test{complex(1, 0), complex(nan, 0), complex(nan, nan)},
   378  	Test{complex(1, 0), complex(nan, 1), complex(nan, nan)},
   379  	Test{complex(1, 0), complex(nan, -1), complex(nan, nan)},
   380  	Test{complex(1, 0), complex(nan, 2), complex(nan, nan)},
   381  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   382  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   383  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   384  	Test{complex(1, 0), complex(inf, 0), complex(0, 0)},
   385  	Test{complex(1, 0), complex(inf, 1), complex(0, 0)},
   386  	Test{complex(1, 0), complex(inf, -1), complex(0, 0)},
   387  	Test{complex(1, 0), complex(inf, 2), complex(0, 0)},
   388  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   389  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   390  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   391  	Test{complex(1, 0), complex(-inf, 0), complex(negzero, negzero)},
   392  	Test{complex(1, 0), complex(-inf, 1), complex(negzero, negzero)},
   393  	Test{complex(1, 0), complex(-inf, -1), complex(negzero, negzero)},
   394  	Test{complex(1, 0), complex(-inf, 2), complex(negzero, negzero)},
   395  	Test{complex(1, 0), complex(nan, nan), complex(nan, nan)},
   396  	Test{complex(1, 0), complex(-nan, inf), complex(0, negzero)},
   397  	Test{complex(1, 0), complex(-nan, -inf), complex(negzero, 0)},
   398  	Test{complex(1, 1), complex(0, 0), complex(inf, inf)},
   399  	Test{complex(1, 1), complex(0, 1), complex(1, -1)},
   400  	Test{complex(1, 1), complex(0, -1), complex(-1, 1)},
   401  	Test{complex(1, 1), complex(0, 2), complex(0.5, -0.5)},
   402  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   403  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   404  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   405  	Test{complex(1, 1), complex(1, 0), complex(1, 1)},
   406  	Test{complex(1, 1), complex(1, 1), complex(1, 0)},
   407  	Test{complex(1, 1), complex(1, -1), complex(0, 1)},
   408  	Test{complex(1, 1), complex(1, 2), complex(0.6, -0.2)},
   409  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   410  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   411  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   412  	Test{complex(1, 1), complex(-1, 0), complex(-1, -1)},
   413  	Test{complex(1, 1), complex(-1, 1), complex(negzero, -1)},
   414  	Test{complex(1, 1), complex(-1, -1), complex(-1, negzero)},
   415  	Test{complex(1, 1), complex(-1, 2), complex(0.2, -0.6)},
   416  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   417  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   418  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   419  	Test{complex(1, 1), complex(2, 0), complex(0.5, 0.5)},
   420  	Test{complex(1, 1), complex(2, 1), complex(0.6, 0.2)},
   421  	Test{complex(1, 1), complex(2, -1), complex(0.2, 0.6)},
   422  	Test{complex(1, 1), complex(2, 2), complex(0.5, 0)},
   423  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   424  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   425  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   426  	Test{complex(1, 1), complex(nan, 0), complex(nan, nan)},
   427  	Test{complex(1, 1), complex(nan, 1), complex(nan, nan)},
   428  	Test{complex(1, 1), complex(nan, -1), complex(nan, nan)},
   429  	Test{complex(1, 1), complex(nan, 2), complex(nan, nan)},
   430  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   431  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   432  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   433  	Test{complex(1, 1), complex(inf, 0), complex(0, 0)},
   434  	Test{complex(1, 1), complex(inf, 1), complex(0, 0)},
   435  	Test{complex(1, 1), complex(inf, -1), complex(0, 0)},
   436  	Test{complex(1, 1), complex(inf, 2), complex(0, 0)},
   437  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   438  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   439  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   440  	Test{complex(1, 1), complex(-inf, 0), complex(negzero, negzero)},
   441  	Test{complex(1, 1), complex(-inf, 1), complex(negzero, negzero)},
   442  	Test{complex(1, 1), complex(-inf, -1), complex(negzero, negzero)},
   443  	Test{complex(1, 1), complex(-inf, 2), complex(negzero, negzero)},
   444  	Test{complex(1, 1), complex(nan, nan), complex(nan, nan)},
   445  	Test{complex(1, 1), complex(-nan, inf), complex(0, negzero)},
   446  	Test{complex(1, 1), complex(-nan, -inf), complex(negzero, 0)},
   447  	Test{complex(1, -1), complex(0, 0), complex(inf, -inf)},
   448  	Test{complex(1, -1), complex(0, 1), complex(-1, -1)},
   449  	Test{complex(1, -1), complex(0, -1), complex(1, 1)},
   450  	Test{complex(1, -1), complex(0, 2), complex(-0.5, -0.5)},
   451  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   452  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   453  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   454  	Test{complex(1, -1), complex(1, 0), complex(1, -1)},
   455  	Test{complex(1, -1), complex(1, 1), complex(0, -1)},
   456  	Test{complex(1, -1), complex(1, -1), complex(1, 0)},
   457  	Test{complex(1, -1), complex(1, 2), complex(-0.2, -0.6)},
   458  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   459  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   460  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   461  	Test{complex(1, -1), complex(-1, 0), complex(-1, 1)},
   462  	Test{complex(1, -1), complex(-1, 1), complex(-1, negzero)},
   463  	Test{complex(1, -1), complex(-1, -1), complex(negzero, 1)},
   464  	Test{complex(1, -1), complex(-1, 2), complex(-0.6, -0.2)},
   465  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   466  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   467  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   468  	Test{complex(1, -1), complex(2, 0), complex(0.5, -0.5)},
   469  	Test{complex(1, -1), complex(2, 1), complex(0.2, -0.6)},
   470  	Test{complex(1, -1), complex(2, -1), complex(0.6, -0.2)},
   471  	Test{complex(1, -1), complex(2, 2), complex(0, -0.5)},
   472  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   473  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   474  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   475  	Test{complex(1, -1), complex(nan, 0), complex(nan, nan)},
   476  	Test{complex(1, -1), complex(nan, 1), complex(nan, nan)},
   477  	Test{complex(1, -1), complex(nan, -1), complex(nan, nan)},
   478  	Test{complex(1, -1), complex(nan, 2), complex(nan, nan)},
   479  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   480  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   481  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   482  	Test{complex(1, -1), complex(inf, 0), complex(0, negzero)},
   483  	Test{complex(1, -1), complex(inf, 1), complex(0, negzero)},
   484  	Test{complex(1, -1), complex(inf, -1), complex(0, negzero)},
   485  	Test{complex(1, -1), complex(inf, 2), complex(0, negzero)},
   486  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   487  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   488  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   489  	Test{complex(1, -1), complex(-inf, 0), complex(negzero, 0)},
   490  	Test{complex(1, -1), complex(-inf, 1), complex(negzero, 0)},
   491  	Test{complex(1, -1), complex(-inf, -1), complex(negzero, 0)},
   492  	Test{complex(1, -1), complex(-inf, 2), complex(negzero, 0)},
   493  	Test{complex(1, -1), complex(nan, nan), complex(nan, nan)},
   494  	Test{complex(1, -1), complex(-nan, inf), complex(negzero, negzero)},
   495  	Test{complex(1, -1), complex(-nan, -inf), complex(0, 0)},
   496  	Test{complex(1, 2), complex(0, 0), complex(inf, inf)},
   497  	Test{complex(1, 2), complex(0, 1), complex(2, -1)},
   498  	Test{complex(1, 2), complex(0, -1), complex(-2, 1)},
   499  	Test{complex(1, 2), complex(0, 2), complex(1, -0.5)},
   500  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   501  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   502  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   503  	Test{complex(1, 2), complex(1, 0), complex(1, 2)},
   504  	Test{complex(1, 2), complex(1, 1), complex(1.5, 0.5)},
   505  	Test{complex(1, 2), complex(1, -1), complex(-0.5, 1.5)},
   506  	Test{complex(1, 2), complex(1, 2), complex(1, 0)},
   507  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   508  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   509  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   510  	Test{complex(1, 2), complex(-1, 0), complex(-1, -2)},
   511  	Test{complex(1, 2), complex(-1, 1), complex(0.5, -1.5)},
   512  	Test{complex(1, 2), complex(-1, -1), complex(-1.5, -0.5)},
   513  	Test{complex(1, 2), complex(-1, 2), complex(0.6, -0.8)},
   514  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   515  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   516  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   517  	Test{complex(1, 2), complex(2, 0), complex(0.5, 1)},
   518  	Test{complex(1, 2), complex(2, 1), complex(0.8, 0.6)},
   519  	Test{complex(1, 2), complex(2, -1), complex(0, 1)},
   520  	Test{complex(1, 2), complex(2, 2), complex(0.75, 0.25)},
   521  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   522  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   523  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   524  	Test{complex(1, 2), complex(nan, 0), complex(nan, nan)},
   525  	Test{complex(1, 2), complex(nan, 1), complex(nan, nan)},
   526  	Test{complex(1, 2), complex(nan, -1), complex(nan, nan)},
   527  	Test{complex(1, 2), complex(nan, 2), complex(nan, nan)},
   528  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   529  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   530  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   531  	Test{complex(1, 2), complex(inf, 0), complex(0, 0)},
   532  	Test{complex(1, 2), complex(inf, 1), complex(0, 0)},
   533  	Test{complex(1, 2), complex(inf, -1), complex(0, 0)},
   534  	Test{complex(1, 2), complex(inf, 2), complex(0, 0)},
   535  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   536  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   537  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   538  	Test{complex(1, 2), complex(-inf, 0), complex(negzero, negzero)},
   539  	Test{complex(1, 2), complex(-inf, 1), complex(negzero, negzero)},
   540  	Test{complex(1, 2), complex(-inf, -1), complex(negzero, negzero)},
   541  	Test{complex(1, 2), complex(-inf, 2), complex(negzero, negzero)},
   542  	Test{complex(1, 2), complex(nan, nan), complex(nan, nan)},
   543  	Test{complex(1, 2), complex(-nan, inf), complex(0, negzero)},
   544  	Test{complex(1, 2), complex(-nan, -inf), complex(negzero, 0)},
   545  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
   546  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
   547  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
   548  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
   549  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   550  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   551  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   552  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
   553  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
   554  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
   555  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
   556  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   557  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   558  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   559  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
   560  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
   561  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
   562  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
   563  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   564  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   565  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   566  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
   567  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
   568  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
   569  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
   570  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   571  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   572  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   573  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
   574  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
   575  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
   576  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
   577  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   578  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   579  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   580  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
   581  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
   582  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
   583  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
   584  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   585  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   586  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   587  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
   588  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
   589  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
   590  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
   591  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   592  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   593  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   594  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
   595  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
   596  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
   597  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
   598  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   599  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   600  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   601  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
   602  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
   603  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
   604  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
   605  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   606  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   607  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   608  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
   609  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
   610  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
   611  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
   612  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   613  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   614  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   615  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
   616  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
   617  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
   618  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
   619  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   620  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   621  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   622  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
   623  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
   624  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
   625  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
   626  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   627  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   628  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   629  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
   630  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
   631  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
   632  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
   633  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   634  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   635  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   636  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
   637  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
   638  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
   639  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
   640  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   641  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   642  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   643  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
   644  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
   645  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
   646  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
   647  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   648  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   649  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   650  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
   651  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
   652  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
   653  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
   654  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   655  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   656  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   657  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
   658  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
   659  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
   660  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
   661  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   662  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   663  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   664  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
   665  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
   666  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
   667  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
   668  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   669  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   670  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   671  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
   672  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
   673  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
   674  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
   675  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   676  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   677  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   678  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
   679  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
   680  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
   681  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
   682  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   683  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   684  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   685  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
   686  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
   687  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
   688  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
   689  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   690  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   691  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   692  	Test{complex(-1, 0), complex(0, 0), complex(-inf, -nan)},
   693  	Test{complex(-1, 0), complex(0, 1), complex(0, 1)},
   694  	Test{complex(-1, 0), complex(0, -1), complex(negzero, -1)},
   695  	Test{complex(-1, 0), complex(0, 2), complex(0, 0.5)},
   696  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   697  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   698  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   699  	Test{complex(-1, 0), complex(1, 0), complex(-1, 0)},
   700  	Test{complex(-1, 0), complex(1, 1), complex(-0.5, 0.5)},
   701  	Test{complex(-1, 0), complex(1, -1), complex(-0.5, -0.5)},
   702  	Test{complex(-1, 0), complex(1, 2), complex(-0.2, 0.4)},
   703  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   704  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   705  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   706  	Test{complex(-1, 0), complex(-1, 0), complex(1, negzero)},
   707  	Test{complex(-1, 0), complex(-1, 1), complex(0.5, 0.5)},
   708  	Test{complex(-1, 0), complex(-1, -1), complex(0.5, -0.5)},
   709  	Test{complex(-1, 0), complex(-1, 2), complex(0.2, 0.4)},
   710  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   711  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   712  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   713  	Test{complex(-1, 0), complex(2, 0), complex(-0.5, 0)},
   714  	Test{complex(-1, 0), complex(2, 1), complex(-0.4, 0.2)},
   715  	Test{complex(-1, 0), complex(2, -1), complex(-0.4, -0.2)},
   716  	Test{complex(-1, 0), complex(2, 2), complex(-0.25, 0.25)},
   717  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   718  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   719  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   720  	Test{complex(-1, 0), complex(nan, 0), complex(nan, nan)},
   721  	Test{complex(-1, 0), complex(nan, 1), complex(nan, nan)},
   722  	Test{complex(-1, 0), complex(nan, -1), complex(nan, nan)},
   723  	Test{complex(-1, 0), complex(nan, 2), complex(nan, nan)},
   724  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   725  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   726  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   727  	Test{complex(-1, 0), complex(inf, 0), complex(negzero, 0)},
   728  	Test{complex(-1, 0), complex(inf, 1), complex(negzero, 0)},
   729  	Test{complex(-1, 0), complex(inf, -1), complex(negzero, 0)},
   730  	Test{complex(-1, 0), complex(inf, 2), complex(negzero, 0)},
   731  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   732  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   733  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   734  	Test{complex(-1, 0), complex(-inf, 0), complex(0, negzero)},
   735  	Test{complex(-1, 0), complex(-inf, 1), complex(0, negzero)},
   736  	Test{complex(-1, 0), complex(-inf, -1), complex(0, negzero)},
   737  	Test{complex(-1, 0), complex(-inf, 2), complex(0, negzero)},
   738  	Test{complex(-1, 0), complex(nan, nan), complex(nan, nan)},
   739  	Test{complex(-1, 0), complex(-nan, inf), complex(0, 0)},
   740  	Test{complex(-1, 0), complex(-nan, -inf), complex(0, negzero)},
   741  	Test{complex(-1, 1), complex(0, 0), complex(-inf, inf)},
   742  	Test{complex(-1, 1), complex(0, 1), complex(1, 1)},
   743  	Test{complex(-1, 1), complex(0, -1), complex(-1, -1)},
   744  	Test{complex(-1, 1), complex(0, 2), complex(0.5, 0.5)},
   745  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   746  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   747  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   748  	Test{complex(-1, 1), complex(1, 0), complex(-1, 1)},
   749  	Test{complex(-1, 1), complex(1, 1), complex(0, 1)},
   750  	Test{complex(-1, 1), complex(1, -1), complex(-1, 0)},
   751  	Test{complex(-1, 1), complex(1, 2), complex(0.2, 0.6)},
   752  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   753  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   754  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   755  	Test{complex(-1, 1), complex(-1, 0), complex(1, -1)},
   756  	Test{complex(-1, 1), complex(-1, 1), complex(1, negzero)},
   757  	Test{complex(-1, 1), complex(-1, -1), complex(negzero, -1)},
   758  	Test{complex(-1, 1), complex(-1, 2), complex(0.6, 0.2)},
   759  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   760  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   761  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   762  	Test{complex(-1, 1), complex(2, 0), complex(-0.5, 0.5)},
   763  	Test{complex(-1, 1), complex(2, 1), complex(-0.2, 0.6)},
   764  	Test{complex(-1, 1), complex(2, -1), complex(-0.6, 0.2)},
   765  	Test{complex(-1, 1), complex(2, 2), complex(0, 0.5)},
   766  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   767  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   768  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   769  	Test{complex(-1, 1), complex(nan, 0), complex(nan, nan)},
   770  	Test{complex(-1, 1), complex(nan, 1), complex(nan, nan)},
   771  	Test{complex(-1, 1), complex(nan, -1), complex(nan, nan)},
   772  	Test{complex(-1, 1), complex(nan, 2), complex(nan, nan)},
   773  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   774  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   775  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   776  	Test{complex(-1, 1), complex(inf, 0), complex(negzero, 0)},
   777  	Test{complex(-1, 1), complex(inf, 1), complex(negzero, 0)},
   778  	Test{complex(-1, 1), complex(inf, -1), complex(negzero, 0)},
   779  	Test{complex(-1, 1), complex(inf, 2), complex(negzero, 0)},
   780  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   781  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   782  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   783  	Test{complex(-1, 1), complex(-inf, 0), complex(0, negzero)},
   784  	Test{complex(-1, 1), complex(-inf, 1), complex(0, negzero)},
   785  	Test{complex(-1, 1), complex(-inf, -1), complex(0, negzero)},
   786  	Test{complex(-1, 1), complex(-inf, 2), complex(0, negzero)},
   787  	Test{complex(-1, 1), complex(nan, nan), complex(nan, nan)},
   788  	Test{complex(-1, 1), complex(-nan, inf), complex(0, 0)},
   789  	Test{complex(-1, 1), complex(-nan, -inf), complex(negzero, negzero)},
   790  	Test{complex(-1, -1), complex(0, 0), complex(-inf, -inf)},
   791  	Test{complex(-1, -1), complex(0, 1), complex(-1, 1)},
   792  	Test{complex(-1, -1), complex(0, -1), complex(1, -1)},
   793  	Test{complex(-1, -1), complex(0, 2), complex(-0.5, 0.5)},
   794  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   795  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   796  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   797  	Test{complex(-1, -1), complex(1, 0), complex(-1, -1)},
   798  	Test{complex(-1, -1), complex(1, 1), complex(-1, 0)},
   799  	Test{complex(-1, -1), complex(1, -1), complex(0, -1)},
   800  	Test{complex(-1, -1), complex(1, 2), complex(-0.6, 0.2)},
   801  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   802  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   803  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   804  	Test{complex(-1, -1), complex(-1, 0), complex(1, 1)},
   805  	Test{complex(-1, -1), complex(-1, 1), complex(negzero, 1)},
   806  	Test{complex(-1, -1), complex(-1, -1), complex(1, negzero)},
   807  	Test{complex(-1, -1), complex(-1, 2), complex(-0.2, 0.6)},
   808  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   809  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   810  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   811  	Test{complex(-1, -1), complex(2, 0), complex(-0.5, -0.5)},
   812  	Test{complex(-1, -1), complex(2, 1), complex(-0.6, -0.2)},
   813  	Test{complex(-1, -1), complex(2, -1), complex(-0.2, -0.6)},
   814  	Test{complex(-1, -1), complex(2, 2), complex(-0.5, 0)},
   815  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   816  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   817  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   818  	Test{complex(-1, -1), complex(nan, 0), complex(nan, nan)},
   819  	Test{complex(-1, -1), complex(nan, 1), complex(nan, nan)},
   820  	Test{complex(-1, -1), complex(nan, -1), complex(nan, nan)},
   821  	Test{complex(-1, -1), complex(nan, 2), complex(nan, nan)},
   822  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   823  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   824  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   825  	Test{complex(-1, -1), complex(inf, 0), complex(negzero, negzero)},
   826  	Test{complex(-1, -1), complex(inf, 1), complex(negzero, negzero)},
   827  	Test{complex(-1, -1), complex(inf, -1), complex(negzero, negzero)},
   828  	Test{complex(-1, -1), complex(inf, 2), complex(negzero, negzero)},
   829  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   830  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   831  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   832  	Test{complex(-1, -1), complex(-inf, 0), complex(0, 0)},
   833  	Test{complex(-1, -1), complex(-inf, 1), complex(0, 0)},
   834  	Test{complex(-1, -1), complex(-inf, -1), complex(0, 0)},
   835  	Test{complex(-1, -1), complex(-inf, 2), complex(0, 0)},
   836  	Test{complex(-1, -1), complex(nan, nan), complex(nan, nan)},
   837  	Test{complex(-1, -1), complex(-nan, inf), complex(negzero, 0)},
   838  	Test{complex(-1, -1), complex(-nan, -inf), complex(0, negzero)},
   839  	Test{complex(-1, 2), complex(0, 0), complex(-inf, inf)},
   840  	Test{complex(-1, 2), complex(0, 1), complex(2, 1)},
   841  	Test{complex(-1, 2), complex(0, -1), complex(-2, -1)},
   842  	Test{complex(-1, 2), complex(0, 2), complex(1, 0.5)},
   843  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   844  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   845  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   846  	Test{complex(-1, 2), complex(1, 0), complex(-1, 2)},
   847  	Test{complex(-1, 2), complex(1, 1), complex(0.5, 1.5)},
   848  	Test{complex(-1, 2), complex(1, -1), complex(-1.5, 0.5)},
   849  	Test{complex(-1, 2), complex(1, 2), complex(0.6, 0.8)},
   850  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   851  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   852  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   853  	Test{complex(-1, 2), complex(-1, 0), complex(1, -2)},
   854  	Test{complex(-1, 2), complex(-1, 1), complex(1.5, -0.5)},
   855  	Test{complex(-1, 2), complex(-1, -1), complex(-0.5, -1.5)},
   856  	Test{complex(-1, 2), complex(-1, 2), complex(1, 0)},
   857  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   858  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   859  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   860  	Test{complex(-1, 2), complex(2, 0), complex(-0.5, 1)},
   861  	Test{complex(-1, 2), complex(2, 1), complex(0, 1)},
   862  	Test{complex(-1, 2), complex(2, -1), complex(-0.8, 0.6)},
   863  	Test{complex(-1, 2), complex(2, 2), complex(0.25, 0.75)},
   864  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   865  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   866  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   867  	Test{complex(-1, 2), complex(nan, 0), complex(nan, nan)},
   868  	Test{complex(-1, 2), complex(nan, 1), complex(nan, nan)},
   869  	Test{complex(-1, 2), complex(nan, -1), complex(nan, nan)},
   870  	Test{complex(-1, 2), complex(nan, 2), complex(nan, nan)},
   871  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   872  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   873  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   874  	Test{complex(-1, 2), complex(inf, 0), complex(negzero, 0)},
   875  	Test{complex(-1, 2), complex(inf, 1), complex(negzero, 0)},
   876  	Test{complex(-1, 2), complex(inf, -1), complex(negzero, 0)},
   877  	Test{complex(-1, 2), complex(inf, 2), complex(negzero, 0)},
   878  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   879  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   880  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   881  	Test{complex(-1, 2), complex(-inf, 0), complex(0, negzero)},
   882  	Test{complex(-1, 2), complex(-inf, 1), complex(0, negzero)},
   883  	Test{complex(-1, 2), complex(-inf, -1), complex(0, negzero)},
   884  	Test{complex(-1, 2), complex(-inf, 2), complex(0, negzero)},
   885  	Test{complex(-1, 2), complex(nan, nan), complex(nan, nan)},
   886  	Test{complex(-1, 2), complex(-nan, inf), complex(0, 0)},
   887  	Test{complex(-1, 2), complex(-nan, -inf), complex(negzero, negzero)},
   888  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
   889  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
   890  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
   891  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
   892  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   893  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   894  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   895  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
   896  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
   897  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
   898  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
   899  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   900  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   901  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   902  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
   903  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
   904  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
   905  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
   906  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   907  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   908  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   909  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
   910  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
   911  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
   912  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
   913  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   914  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   915  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   916  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
   917  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
   918  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
   919  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
   920  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   921  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   922  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   923  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
   924  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
   925  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
   926  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
   927  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   928  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   929  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   930  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
   931  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
   932  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
   933  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
   934  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
   935  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
   936  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
   937  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
   938  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
   939  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
   940  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
   941  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   942  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   943  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   944  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
   945  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
   946  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
   947  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
   948  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   949  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   950  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   951  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
   952  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
   953  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
   954  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
   955  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   956  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   957  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   958  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
   959  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
   960  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
   961  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
   962  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   963  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   964  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   965  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
   966  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
   967  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
   968  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
   969  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   970  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   971  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   972  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
   973  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
   974  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
   975  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
   976  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   977  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   978  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   979  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
   980  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
   981  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
   982  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
   983  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
   984  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
   985  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
   986  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
   987  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
   988  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
   989  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
   990  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   991  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   992  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
   993  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
   994  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
   995  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
   996  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
   997  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
   998  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
   999  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1000  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
  1001  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
  1002  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
  1003  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
  1004  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1005  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1006  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1007  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
  1008  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
  1009  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
  1010  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
  1011  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1012  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1013  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1014  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
  1015  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
  1016  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
  1017  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
  1018  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1019  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1020  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1021  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
  1022  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
  1023  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
  1024  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
  1025  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1026  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1027  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1028  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
  1029  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
  1030  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
  1031  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
  1032  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1033  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1034  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1035  	Test{complex(2, 0), complex(0, 0), complex(inf, -nan)},
  1036  	Test{complex(2, 0), complex(0, 1), complex(0, -2)},
  1037  	Test{complex(2, 0), complex(0, -1), complex(negzero, 2)},
  1038  	Test{complex(2, 0), complex(0, 2), complex(0, -1)},
  1039  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1040  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1041  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1042  	Test{complex(2, 0), complex(1, 0), complex(2, 0)},
  1043  	Test{complex(2, 0), complex(1, 1), complex(1, -1)},
  1044  	Test{complex(2, 0), complex(1, -1), complex(1, 1)},
  1045  	Test{complex(2, 0), complex(1, 2), complex(0.4, -0.8)},
  1046  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1047  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1048  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1049  	Test{complex(2, 0), complex(-1, 0), complex(-2, negzero)},
  1050  	Test{complex(2, 0), complex(-1, 1), complex(-1, -1)},
  1051  	Test{complex(2, 0), complex(-1, -1), complex(-1, 1)},
  1052  	Test{complex(2, 0), complex(-1, 2), complex(-0.4, -0.8)},
  1053  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1054  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1055  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1056  	Test{complex(2, 0), complex(2, 0), complex(1, 0)},
  1057  	Test{complex(2, 0), complex(2, 1), complex(0.8, -0.4)},
  1058  	Test{complex(2, 0), complex(2, -1), complex(0.8, 0.4)},
  1059  	Test{complex(2, 0), complex(2, 2), complex(0.5, -0.5)},
  1060  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1061  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1062  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1063  	Test{complex(2, 0), complex(nan, 0), complex(nan, nan)},
  1064  	Test{complex(2, 0), complex(nan, 1), complex(nan, nan)},
  1065  	Test{complex(2, 0), complex(nan, -1), complex(nan, nan)},
  1066  	Test{complex(2, 0), complex(nan, 2), complex(nan, nan)},
  1067  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1068  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1069  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1070  	Test{complex(2, 0), complex(inf, 0), complex(0, 0)},
  1071  	Test{complex(2, 0), complex(inf, 1), complex(0, 0)},
  1072  	Test{complex(2, 0), complex(inf, -1), complex(0, 0)},
  1073  	Test{complex(2, 0), complex(inf, 2), complex(0, 0)},
  1074  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1075  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1076  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1077  	Test{complex(2, 0), complex(-inf, 0), complex(negzero, negzero)},
  1078  	Test{complex(2, 0), complex(-inf, 1), complex(negzero, negzero)},
  1079  	Test{complex(2, 0), complex(-inf, -1), complex(negzero, negzero)},
  1080  	Test{complex(2, 0), complex(-inf, 2), complex(negzero, negzero)},
  1081  	Test{complex(2, 0), complex(nan, nan), complex(nan, nan)},
  1082  	Test{complex(2, 0), complex(-nan, inf), complex(0, negzero)},
  1083  	Test{complex(2, 0), complex(-nan, -inf), complex(negzero, 0)},
  1084  	Test{complex(2, 1), complex(0, 0), complex(inf, inf)},
  1085  	Test{complex(2, 1), complex(0, 1), complex(1, -2)},
  1086  	Test{complex(2, 1), complex(0, -1), complex(-1, 2)},
  1087  	Test{complex(2, 1), complex(0, 2), complex(0.5, -1)},
  1088  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1089  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1090  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1091  	Test{complex(2, 1), complex(1, 0), complex(2, 1)},
  1092  	Test{complex(2, 1), complex(1, 1), complex(1.5, -0.5)},
  1093  	Test{complex(2, 1), complex(1, -1), complex(0.5, 1.5)},
  1094  	Test{complex(2, 1), complex(1, 2), complex(0.8, -0.6)},
  1095  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1096  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1097  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1098  	Test{complex(2, 1), complex(-1, 0), complex(-2, -1)},
  1099  	Test{complex(2, 1), complex(-1, 1), complex(-0.5, -1.5)},
  1100  	Test{complex(2, 1), complex(-1, -1), complex(-1.5, 0.5)},
  1101  	Test{complex(2, 1), complex(-1, 2), complex(0, -1)},
  1102  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1103  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1104  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1105  	Test{complex(2, 1), complex(2, 0), complex(1, 0.5)},
  1106  	Test{complex(2, 1), complex(2, 1), complex(1, 0)},
  1107  	Test{complex(2, 1), complex(2, -1), complex(0.6, 0.8)},
  1108  	Test{complex(2, 1), complex(2, 2), complex(0.75, -0.25)},
  1109  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1110  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1111  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1112  	Test{complex(2, 1), complex(nan, 0), complex(nan, nan)},
  1113  	Test{complex(2, 1), complex(nan, 1), complex(nan, nan)},
  1114  	Test{complex(2, 1), complex(nan, -1), complex(nan, nan)},
  1115  	Test{complex(2, 1), complex(nan, 2), complex(nan, nan)},
  1116  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1117  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1118  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1119  	Test{complex(2, 1), complex(inf, 0), complex(0, 0)},
  1120  	Test{complex(2, 1), complex(inf, 1), complex(0, 0)},
  1121  	Test{complex(2, 1), complex(inf, -1), complex(0, 0)},
  1122  	Test{complex(2, 1), complex(inf, 2), complex(0, 0)},
  1123  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1124  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1125  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1126  	Test{complex(2, 1), complex(-inf, 0), complex(negzero, negzero)},
  1127  	Test{complex(2, 1), complex(-inf, 1), complex(negzero, negzero)},
  1128  	Test{complex(2, 1), complex(-inf, -1), complex(negzero, negzero)},
  1129  	Test{complex(2, 1), complex(-inf, 2), complex(negzero, negzero)},
  1130  	Test{complex(2, 1), complex(nan, nan), complex(nan, nan)},
  1131  	Test{complex(2, 1), complex(-nan, inf), complex(0, negzero)},
  1132  	Test{complex(2, 1), complex(-nan, -inf), complex(negzero, 0)},
  1133  	Test{complex(2, -1), complex(0, 0), complex(inf, -inf)},
  1134  	Test{complex(2, -1), complex(0, 1), complex(-1, -2)},
  1135  	Test{complex(2, -1), complex(0, -1), complex(1, 2)},
  1136  	Test{complex(2, -1), complex(0, 2), complex(-0.5, -1)},
  1137  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1138  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1139  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1140  	Test{complex(2, -1), complex(1, 0), complex(2, -1)},
  1141  	Test{complex(2, -1), complex(1, 1), complex(0.5, -1.5)},
  1142  	Test{complex(2, -1), complex(1, -1), complex(1.5, 0.5)},
  1143  	Test{complex(2, -1), complex(1, 2), complex(0, -1)},
  1144  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1145  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1146  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1147  	Test{complex(2, -1), complex(-1, 0), complex(-2, 1)},
  1148  	Test{complex(2, -1), complex(-1, 1), complex(-1.5, -0.5)},
  1149  	Test{complex(2, -1), complex(-1, -1), complex(-0.5, 1.5)},
  1150  	Test{complex(2, -1), complex(-1, 2), complex(-0.8, -0.6)},
  1151  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1152  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1153  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1154  	Test{complex(2, -1), complex(2, 0), complex(1, -0.5)},
  1155  	Test{complex(2, -1), complex(2, 1), complex(0.6, -0.8)},
  1156  	Test{complex(2, -1), complex(2, -1), complex(1, 0)},
  1157  	Test{complex(2, -1), complex(2, 2), complex(0.25, -0.75)},
  1158  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1159  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1160  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1161  	Test{complex(2, -1), complex(nan, 0), complex(nan, nan)},
  1162  	Test{complex(2, -1), complex(nan, 1), complex(nan, nan)},
  1163  	Test{complex(2, -1), complex(nan, -1), complex(nan, nan)},
  1164  	Test{complex(2, -1), complex(nan, 2), complex(nan, nan)},
  1165  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1166  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1167  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1168  	Test{complex(2, -1), complex(inf, 0), complex(0, negzero)},
  1169  	Test{complex(2, -1), complex(inf, 1), complex(0, negzero)},
  1170  	Test{complex(2, -1), complex(inf, -1), complex(0, negzero)},
  1171  	Test{complex(2, -1), complex(inf, 2), complex(0, negzero)},
  1172  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1173  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1174  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1175  	Test{complex(2, -1), complex(-inf, 0), complex(negzero, 0)},
  1176  	Test{complex(2, -1), complex(-inf, 1), complex(negzero, 0)},
  1177  	Test{complex(2, -1), complex(-inf, -1), complex(negzero, 0)},
  1178  	Test{complex(2, -1), complex(-inf, 2), complex(negzero, 0)},
  1179  	Test{complex(2, -1), complex(nan, nan), complex(nan, nan)},
  1180  	Test{complex(2, -1), complex(-nan, inf), complex(negzero, negzero)},
  1181  	Test{complex(2, -1), complex(-nan, -inf), complex(0, 0)},
  1182  	Test{complex(2, 2), complex(0, 0), complex(inf, inf)},
  1183  	Test{complex(2, 2), complex(0, 1), complex(2, -2)},
  1184  	Test{complex(2, 2), complex(0, -1), complex(-2, 2)},
  1185  	Test{complex(2, 2), complex(0, 2), complex(1, -1)},
  1186  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1187  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1188  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1189  	Test{complex(2, 2), complex(1, 0), complex(2, 2)},
  1190  	Test{complex(2, 2), complex(1, 1), complex(2, 0)},
  1191  	Test{complex(2, 2), complex(1, -1), complex(0, 2)},
  1192  	Test{complex(2, 2), complex(1, 2), complex(1.2, -0.4)},
  1193  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1194  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1195  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1196  	Test{complex(2, 2), complex(-1, 0), complex(-2, -2)},
  1197  	Test{complex(2, 2), complex(-1, 1), complex(negzero, -2)},
  1198  	Test{complex(2, 2), complex(-1, -1), complex(-2, negzero)},
  1199  	Test{complex(2, 2), complex(-1, 2), complex(0.4, -1.2)},
  1200  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1201  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1202  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1203  	Test{complex(2, 2), complex(2, 0), complex(1, 1)},
  1204  	Test{complex(2, 2), complex(2, 1), complex(1.2, 0.4)},
  1205  	Test{complex(2, 2), complex(2, -1), complex(0.4, 1.2)},
  1206  	Test{complex(2, 2), complex(2, 2), complex(1, 0)},
  1207  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1208  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1209  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1210  	Test{complex(2, 2), complex(nan, 0), complex(nan, nan)},
  1211  	Test{complex(2, 2), complex(nan, 1), complex(nan, nan)},
  1212  	Test{complex(2, 2), complex(nan, -1), complex(nan, nan)},
  1213  	Test{complex(2, 2), complex(nan, 2), complex(nan, nan)},
  1214  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1215  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1216  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1217  	Test{complex(2, 2), complex(inf, 0), complex(0, 0)},
  1218  	Test{complex(2, 2), complex(inf, 1), complex(0, 0)},
  1219  	Test{complex(2, 2), complex(inf, -1), complex(0, 0)},
  1220  	Test{complex(2, 2), complex(inf, 2), complex(0, 0)},
  1221  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1222  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1223  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1224  	Test{complex(2, 2), complex(-inf, 0), complex(negzero, negzero)},
  1225  	Test{complex(2, 2), complex(-inf, 1), complex(negzero, negzero)},
  1226  	Test{complex(2, 2), complex(-inf, -1), complex(negzero, negzero)},
  1227  	Test{complex(2, 2), complex(-inf, 2), complex(negzero, negzero)},
  1228  	Test{complex(2, 2), complex(nan, nan), complex(nan, nan)},
  1229  	Test{complex(2, 2), complex(-nan, inf), complex(0, negzero)},
  1230  	Test{complex(2, 2), complex(-nan, -inf), complex(negzero, 0)},
  1231  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
  1232  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
  1233  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
  1234  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
  1235  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1236  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1237  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1238  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
  1239  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
  1240  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
  1241  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
  1242  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1243  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1244  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1245  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
  1246  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
  1247  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
  1248  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
  1249  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1250  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1251  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1252  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
  1253  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
  1254  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
  1255  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
  1256  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1257  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1258  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1259  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
  1260  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
  1261  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
  1262  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
  1263  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1264  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1265  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1266  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
  1267  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
  1268  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
  1269  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
  1270  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1271  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1272  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1273  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
  1274  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
  1275  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
  1276  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
  1277  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1278  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1279  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1280  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
  1281  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
  1282  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
  1283  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
  1284  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1285  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1286  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1287  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
  1288  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
  1289  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
  1290  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
  1291  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1292  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1293  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1294  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
  1295  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
  1296  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
  1297  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
  1298  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1299  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1300  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1301  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
  1302  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
  1303  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
  1304  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
  1305  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1306  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1307  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1308  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
  1309  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
  1310  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
  1311  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
  1312  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1313  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1314  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1315  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
  1316  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
  1317  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
  1318  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
  1319  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1320  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1321  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1322  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
  1323  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
  1324  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
  1325  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
  1326  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1327  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1328  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1329  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
  1330  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
  1331  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
  1332  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
  1333  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1334  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1335  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1336  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
  1337  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
  1338  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
  1339  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
  1340  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1341  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1342  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1343  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
  1344  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
  1345  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
  1346  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
  1347  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1348  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1349  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1350  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
  1351  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
  1352  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
  1353  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
  1354  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1355  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1356  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1357  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
  1358  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
  1359  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
  1360  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
  1361  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1362  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1363  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1364  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
  1365  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
  1366  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
  1367  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
  1368  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1369  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1370  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1371  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
  1372  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
  1373  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
  1374  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
  1375  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1376  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1377  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1378  	Test{complex(nan, 0), complex(0, 0), complex(nan, nan)},
  1379  	Test{complex(nan, 0), complex(0, 1), complex(nan, nan)},
  1380  	Test{complex(nan, 0), complex(0, -1), complex(nan, nan)},
  1381  	Test{complex(nan, 0), complex(0, 2), complex(nan, nan)},
  1382  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1383  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1384  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1385  	Test{complex(nan, 0), complex(1, 0), complex(nan, nan)},
  1386  	Test{complex(nan, 0), complex(1, 1), complex(nan, nan)},
  1387  	Test{complex(nan, 0), complex(1, -1), complex(nan, nan)},
  1388  	Test{complex(nan, 0), complex(1, 2), complex(nan, nan)},
  1389  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1390  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1391  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1392  	Test{complex(nan, 0), complex(-1, 0), complex(nan, nan)},
  1393  	Test{complex(nan, 0), complex(-1, 1), complex(nan, nan)},
  1394  	Test{complex(nan, 0), complex(-1, -1), complex(nan, nan)},
  1395  	Test{complex(nan, 0), complex(-1, 2), complex(nan, nan)},
  1396  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1397  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1398  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1399  	Test{complex(nan, 0), complex(2, 0), complex(nan, nan)},
  1400  	Test{complex(nan, 0), complex(2, 1), complex(nan, nan)},
  1401  	Test{complex(nan, 0), complex(2, -1), complex(nan, nan)},
  1402  	Test{complex(nan, 0), complex(2, 2), complex(nan, nan)},
  1403  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1404  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1405  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1406  	Test{complex(nan, 0), complex(nan, 0), complex(nan, nan)},
  1407  	Test{complex(nan, 0), complex(nan, 1), complex(nan, nan)},
  1408  	Test{complex(nan, 0), complex(nan, -1), complex(nan, nan)},
  1409  	Test{complex(nan, 0), complex(nan, 2), complex(nan, nan)},
  1410  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1411  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1412  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1413  	Test{complex(nan, 0), complex(inf, 0), complex(nan, nan)},
  1414  	Test{complex(nan, 0), complex(inf, 1), complex(nan, nan)},
  1415  	Test{complex(nan, 0), complex(inf, -1), complex(nan, nan)},
  1416  	Test{complex(nan, 0), complex(inf, 2), complex(nan, nan)},
  1417  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1418  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1419  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1420  	Test{complex(nan, 0), complex(-inf, 0), complex(nan, nan)},
  1421  	Test{complex(nan, 0), complex(-inf, 1), complex(nan, nan)},
  1422  	Test{complex(nan, 0), complex(-inf, -1), complex(nan, nan)},
  1423  	Test{complex(nan, 0), complex(-inf, 2), complex(nan, nan)},
  1424  	Test{complex(nan, 0), complex(nan, nan), complex(nan, nan)},
  1425  	Test{complex(nan, 0), complex(-nan, inf), complex(-nan, -nan)},
  1426  	Test{complex(nan, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1427  	Test{complex(nan, 1), complex(0, 0), complex(nan, nan)},
  1428  	Test{complex(nan, 1), complex(0, 1), complex(nan, nan)},
  1429  	Test{complex(nan, 1), complex(0, -1), complex(nan, nan)},
  1430  	Test{complex(nan, 1), complex(0, 2), complex(nan, nan)},
  1431  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1432  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1433  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1434  	Test{complex(nan, 1), complex(1, 0), complex(nan, nan)},
  1435  	Test{complex(nan, 1), complex(1, 1), complex(nan, nan)},
  1436  	Test{complex(nan, 1), complex(1, -1), complex(nan, nan)},
  1437  	Test{complex(nan, 1), complex(1, 2), complex(nan, nan)},
  1438  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1439  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1440  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1441  	Test{complex(nan, 1), complex(-1, 0), complex(nan, nan)},
  1442  	Test{complex(nan, 1), complex(-1, 1), complex(nan, nan)},
  1443  	Test{complex(nan, 1), complex(-1, -1), complex(nan, nan)},
  1444  	Test{complex(nan, 1), complex(-1, 2), complex(nan, nan)},
  1445  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1446  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1447  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1448  	Test{complex(nan, 1), complex(2, 0), complex(nan, nan)},
  1449  	Test{complex(nan, 1), complex(2, 1), complex(nan, nan)},
  1450  	Test{complex(nan, 1), complex(2, -1), complex(nan, nan)},
  1451  	Test{complex(nan, 1), complex(2, 2), complex(nan, nan)},
  1452  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1453  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1454  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1455  	Test{complex(nan, 1), complex(nan, 0), complex(nan, nan)},
  1456  	Test{complex(nan, 1), complex(nan, 1), complex(nan, nan)},
  1457  	Test{complex(nan, 1), complex(nan, -1), complex(nan, nan)},
  1458  	Test{complex(nan, 1), complex(nan, 2), complex(nan, nan)},
  1459  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1460  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1461  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1462  	Test{complex(nan, 1), complex(inf, 0), complex(nan, nan)},
  1463  	Test{complex(nan, 1), complex(inf, 1), complex(nan, nan)},
  1464  	Test{complex(nan, 1), complex(inf, -1), complex(nan, nan)},
  1465  	Test{complex(nan, 1), complex(inf, 2), complex(nan, nan)},
  1466  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1467  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1468  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1469  	Test{complex(nan, 1), complex(-inf, 0), complex(nan, nan)},
  1470  	Test{complex(nan, 1), complex(-inf, 1), complex(nan, nan)},
  1471  	Test{complex(nan, 1), complex(-inf, -1), complex(nan, nan)},
  1472  	Test{complex(nan, 1), complex(-inf, 2), complex(nan, nan)},
  1473  	Test{complex(nan, 1), complex(nan, nan), complex(nan, nan)},
  1474  	Test{complex(nan, 1), complex(-nan, inf), complex(-nan, -nan)},
  1475  	Test{complex(nan, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1476  	Test{complex(nan, -1), complex(0, 0), complex(nan, nan)},
  1477  	Test{complex(nan, -1), complex(0, 1), complex(nan, nan)},
  1478  	Test{complex(nan, -1), complex(0, -1), complex(nan, nan)},
  1479  	Test{complex(nan, -1), complex(0, 2), complex(nan, nan)},
  1480  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1481  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1482  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1483  	Test{complex(nan, -1), complex(1, 0), complex(nan, nan)},
  1484  	Test{complex(nan, -1), complex(1, 1), complex(nan, nan)},
  1485  	Test{complex(nan, -1), complex(1, -1), complex(nan, nan)},
  1486  	Test{complex(nan, -1), complex(1, 2), complex(nan, nan)},
  1487  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1488  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1489  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1490  	Test{complex(nan, -1), complex(-1, 0), complex(nan, nan)},
  1491  	Test{complex(nan, -1), complex(-1, 1), complex(nan, nan)},
  1492  	Test{complex(nan, -1), complex(-1, -1), complex(nan, nan)},
  1493  	Test{complex(nan, -1), complex(-1, 2), complex(nan, nan)},
  1494  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1495  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1496  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1497  	Test{complex(nan, -1), complex(2, 0), complex(nan, nan)},
  1498  	Test{complex(nan, -1), complex(2, 1), complex(nan, nan)},
  1499  	Test{complex(nan, -1), complex(2, -1), complex(nan, nan)},
  1500  	Test{complex(nan, -1), complex(2, 2), complex(nan, nan)},
  1501  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1502  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1503  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1504  	Test{complex(nan, -1), complex(nan, 0), complex(nan, nan)},
  1505  	Test{complex(nan, -1), complex(nan, 1), complex(nan, nan)},
  1506  	Test{complex(nan, -1), complex(nan, -1), complex(nan, nan)},
  1507  	Test{complex(nan, -1), complex(nan, 2), complex(nan, nan)},
  1508  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1509  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1510  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1511  	Test{complex(nan, -1), complex(inf, 0), complex(nan, nan)},
  1512  	Test{complex(nan, -1), complex(inf, 1), complex(nan, nan)},
  1513  	Test{complex(nan, -1), complex(inf, -1), complex(nan, nan)},
  1514  	Test{complex(nan, -1), complex(inf, 2), complex(nan, nan)},
  1515  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1516  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1517  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1518  	Test{complex(nan, -1), complex(-inf, 0), complex(nan, nan)},
  1519  	Test{complex(nan, -1), complex(-inf, 1), complex(nan, nan)},
  1520  	Test{complex(nan, -1), complex(-inf, -1), complex(nan, nan)},
  1521  	Test{complex(nan, -1), complex(-inf, 2), complex(nan, nan)},
  1522  	Test{complex(nan, -1), complex(nan, nan), complex(nan, nan)},
  1523  	Test{complex(nan, -1), complex(-nan, inf), complex(-nan, -nan)},
  1524  	Test{complex(nan, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1525  	Test{complex(nan, 2), complex(0, 0), complex(nan, nan)},
  1526  	Test{complex(nan, 2), complex(0, 1), complex(nan, nan)},
  1527  	Test{complex(nan, 2), complex(0, -1), complex(nan, nan)},
  1528  	Test{complex(nan, 2), complex(0, 2), complex(nan, nan)},
  1529  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1530  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1531  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1532  	Test{complex(nan, 2), complex(1, 0), complex(nan, nan)},
  1533  	Test{complex(nan, 2), complex(1, 1), complex(nan, nan)},
  1534  	Test{complex(nan, 2), complex(1, -1), complex(nan, nan)},
  1535  	Test{complex(nan, 2), complex(1, 2), complex(nan, nan)},
  1536  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1537  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1538  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1539  	Test{complex(nan, 2), complex(-1, 0), complex(nan, nan)},
  1540  	Test{complex(nan, 2), complex(-1, 1), complex(nan, nan)},
  1541  	Test{complex(nan, 2), complex(-1, -1), complex(nan, nan)},
  1542  	Test{complex(nan, 2), complex(-1, 2), complex(nan, nan)},
  1543  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1544  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1545  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1546  	Test{complex(nan, 2), complex(2, 0), complex(nan, nan)},
  1547  	Test{complex(nan, 2), complex(2, 1), complex(nan, nan)},
  1548  	Test{complex(nan, 2), complex(2, -1), complex(nan, nan)},
  1549  	Test{complex(nan, 2), complex(2, 2), complex(nan, nan)},
  1550  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1551  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1552  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1553  	Test{complex(nan, 2), complex(nan, 0), complex(nan, nan)},
  1554  	Test{complex(nan, 2), complex(nan, 1), complex(nan, nan)},
  1555  	Test{complex(nan, 2), complex(nan, -1), complex(nan, nan)},
  1556  	Test{complex(nan, 2), complex(nan, 2), complex(nan, nan)},
  1557  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1558  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1559  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1560  	Test{complex(nan, 2), complex(inf, 0), complex(nan, nan)},
  1561  	Test{complex(nan, 2), complex(inf, 1), complex(nan, nan)},
  1562  	Test{complex(nan, 2), complex(inf, -1), complex(nan, nan)},
  1563  	Test{complex(nan, 2), complex(inf, 2), complex(nan, nan)},
  1564  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1565  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1566  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1567  	Test{complex(nan, 2), complex(-inf, 0), complex(nan, nan)},
  1568  	Test{complex(nan, 2), complex(-inf, 1), complex(nan, nan)},
  1569  	Test{complex(nan, 2), complex(-inf, -1), complex(nan, nan)},
  1570  	Test{complex(nan, 2), complex(-inf, 2), complex(nan, nan)},
  1571  	Test{complex(nan, 2), complex(nan, nan), complex(nan, nan)},
  1572  	Test{complex(nan, 2), complex(-nan, inf), complex(-nan, -nan)},
  1573  	Test{complex(nan, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1574  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
  1575  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
  1576  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
  1577  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
  1578  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1579  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1580  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1581  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
  1582  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
  1583  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
  1584  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
  1585  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1586  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1587  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1588  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
  1589  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
  1590  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
  1591  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
  1592  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1593  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1594  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1595  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
  1596  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
  1597  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
  1598  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
  1599  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1600  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1601  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1602  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
  1603  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
  1604  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
  1605  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
  1606  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1607  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1608  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1609  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
  1610  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
  1611  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
  1612  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
  1613  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1614  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1615  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1616  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
  1617  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
  1618  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
  1619  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
  1620  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1621  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1622  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1623  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
  1624  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
  1625  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
  1626  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
  1627  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1628  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1629  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1630  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
  1631  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
  1632  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
  1633  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
  1634  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1635  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1636  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1637  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
  1638  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
  1639  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
  1640  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
  1641  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1642  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1643  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1644  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
  1645  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
  1646  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
  1647  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
  1648  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1649  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1650  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1651  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
  1652  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
  1653  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
  1654  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
  1655  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1656  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1657  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1658  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
  1659  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
  1660  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
  1661  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
  1662  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1663  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1664  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1665  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
  1666  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
  1667  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
  1668  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
  1669  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1670  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1671  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1672  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
  1673  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
  1674  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
  1675  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
  1676  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1677  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1678  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1679  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
  1680  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
  1681  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
  1682  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
  1683  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1684  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1685  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1686  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
  1687  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
  1688  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
  1689  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
  1690  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1691  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1692  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1693  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
  1694  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
  1695  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
  1696  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
  1697  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1698  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1699  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1700  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
  1701  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
  1702  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
  1703  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
  1704  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1705  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1706  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1707  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
  1708  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
  1709  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
  1710  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
  1711  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1712  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1713  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1714  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
  1715  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
  1716  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
  1717  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
  1718  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  1719  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  1720  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  1721  	Test{complex(inf, 0), complex(0, 0), complex(inf, -nan)},
  1722  	Test{complex(inf, 0), complex(0, 1), complex(-nan, -inf)},
  1723  	Test{complex(inf, 0), complex(0, -1), complex(-nan, inf)},
  1724  	Test{complex(inf, 0), complex(0, 2), complex(-nan, -inf)},
  1725  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1726  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1727  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1728  	Test{complex(inf, 0), complex(1, 0), complex(inf, -nan)},
  1729  	Test{complex(inf, 0), complex(1, 1), complex(inf, -inf)},
  1730  	Test{complex(inf, 0), complex(1, -1), complex(inf, inf)},
  1731  	Test{complex(inf, 0), complex(1, 2), complex(inf, -inf)},
  1732  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1733  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1734  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1735  	Test{complex(inf, 0), complex(-1, 0), complex(-inf, -nan)},
  1736  	Test{complex(inf, 0), complex(-1, 1), complex(-inf, -inf)},
  1737  	Test{complex(inf, 0), complex(-1, -1), complex(-inf, inf)},
  1738  	Test{complex(inf, 0), complex(-1, 2), complex(-inf, -inf)},
  1739  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1740  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1741  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1742  	Test{complex(inf, 0), complex(2, 0), complex(inf, -nan)},
  1743  	Test{complex(inf, 0), complex(2, 1), complex(inf, -inf)},
  1744  	Test{complex(inf, 0), complex(2, -1), complex(inf, inf)},
  1745  	Test{complex(inf, 0), complex(2, 2), complex(inf, -inf)},
  1746  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1747  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1748  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1749  	Test{complex(inf, 0), complex(nan, 0), complex(nan, nan)},
  1750  	Test{complex(inf, 0), complex(nan, 1), complex(nan, nan)},
  1751  	Test{complex(inf, 0), complex(nan, -1), complex(nan, nan)},
  1752  	Test{complex(inf, 0), complex(nan, 2), complex(nan, nan)},
  1753  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1754  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1755  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1756  	Test{complex(inf, 0), complex(inf, 0), complex(-nan, -nan)},
  1757  	Test{complex(inf, 0), complex(inf, 1), complex(-nan, -nan)},
  1758  	Test{complex(inf, 0), complex(inf, -1), complex(-nan, -nan)},
  1759  	Test{complex(inf, 0), complex(inf, 2), complex(-nan, -nan)},
  1760  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1761  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1762  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1763  	Test{complex(inf, 0), complex(-inf, 0), complex(-nan, -nan)},
  1764  	Test{complex(inf, 0), complex(-inf, 1), complex(-nan, -nan)},
  1765  	Test{complex(inf, 0), complex(-inf, -1), complex(-nan, -nan)},
  1766  	Test{complex(inf, 0), complex(-inf, 2), complex(-nan, -nan)},
  1767  	Test{complex(inf, 0), complex(nan, nan), complex(nan, nan)},
  1768  	Test{complex(inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  1769  	Test{complex(inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  1770  	Test{complex(inf, 1), complex(0, 0), complex(inf, inf)},
  1771  	Test{complex(inf, 1), complex(0, 1), complex(-nan, -inf)},
  1772  	Test{complex(inf, 1), complex(0, -1), complex(-nan, inf)},
  1773  	Test{complex(inf, 1), complex(0, 2), complex(-nan, -inf)},
  1774  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1775  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1776  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1777  	Test{complex(inf, 1), complex(1, 0), complex(inf, -nan)},
  1778  	Test{complex(inf, 1), complex(1, 1), complex(inf, -inf)},
  1779  	Test{complex(inf, 1), complex(1, -1), complex(inf, inf)},
  1780  	Test{complex(inf, 1), complex(1, 2), complex(inf, -inf)},
  1781  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1782  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1783  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1784  	Test{complex(inf, 1), complex(-1, 0), complex(-inf, -nan)},
  1785  	Test{complex(inf, 1), complex(-1, 1), complex(-inf, -inf)},
  1786  	Test{complex(inf, 1), complex(-1, -1), complex(-inf, inf)},
  1787  	Test{complex(inf, 1), complex(-1, 2), complex(-inf, -inf)},
  1788  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1789  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1790  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1791  	Test{complex(inf, 1), complex(2, 0), complex(inf, -nan)},
  1792  	Test{complex(inf, 1), complex(2, 1), complex(inf, -inf)},
  1793  	Test{complex(inf, 1), complex(2, -1), complex(inf, inf)},
  1794  	Test{complex(inf, 1), complex(2, 2), complex(inf, -inf)},
  1795  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1796  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1797  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1798  	Test{complex(inf, 1), complex(nan, 0), complex(nan, nan)},
  1799  	Test{complex(inf, 1), complex(nan, 1), complex(nan, nan)},
  1800  	Test{complex(inf, 1), complex(nan, -1), complex(nan, nan)},
  1801  	Test{complex(inf, 1), complex(nan, 2), complex(nan, nan)},
  1802  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1803  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1804  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1805  	Test{complex(inf, 1), complex(inf, 0), complex(-nan, -nan)},
  1806  	Test{complex(inf, 1), complex(inf, 1), complex(-nan, -nan)},
  1807  	Test{complex(inf, 1), complex(inf, -1), complex(-nan, -nan)},
  1808  	Test{complex(inf, 1), complex(inf, 2), complex(-nan, -nan)},
  1809  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1810  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1811  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1812  	Test{complex(inf, 1), complex(-inf, 0), complex(-nan, -nan)},
  1813  	Test{complex(inf, 1), complex(-inf, 1), complex(-nan, -nan)},
  1814  	Test{complex(inf, 1), complex(-inf, -1), complex(-nan, -nan)},
  1815  	Test{complex(inf, 1), complex(-inf, 2), complex(-nan, -nan)},
  1816  	Test{complex(inf, 1), complex(nan, nan), complex(nan, nan)},
  1817  	Test{complex(inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  1818  	Test{complex(inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  1819  	Test{complex(inf, -1), complex(0, 0), complex(inf, -inf)},
  1820  	Test{complex(inf, -1), complex(0, 1), complex(-nan, -inf)},
  1821  	Test{complex(inf, -1), complex(0, -1), complex(-nan, inf)},
  1822  	Test{complex(inf, -1), complex(0, 2), complex(-nan, -inf)},
  1823  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1824  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1825  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1826  	Test{complex(inf, -1), complex(1, 0), complex(inf, -nan)},
  1827  	Test{complex(inf, -1), complex(1, 1), complex(inf, -inf)},
  1828  	Test{complex(inf, -1), complex(1, -1), complex(inf, inf)},
  1829  	Test{complex(inf, -1), complex(1, 2), complex(inf, -inf)},
  1830  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1831  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1832  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1833  	Test{complex(inf, -1), complex(-1, 0), complex(-inf, -nan)},
  1834  	Test{complex(inf, -1), complex(-1, 1), complex(-inf, -inf)},
  1835  	Test{complex(inf, -1), complex(-1, -1), complex(-inf, inf)},
  1836  	Test{complex(inf, -1), complex(-1, 2), complex(-inf, -inf)},
  1837  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1838  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1839  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1840  	Test{complex(inf, -1), complex(2, 0), complex(inf, -nan)},
  1841  	Test{complex(inf, -1), complex(2, 1), complex(inf, -inf)},
  1842  	Test{complex(inf, -1), complex(2, -1), complex(inf, inf)},
  1843  	Test{complex(inf, -1), complex(2, 2), complex(inf, -inf)},
  1844  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1845  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1846  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1847  	Test{complex(inf, -1), complex(nan, 0), complex(nan, nan)},
  1848  	Test{complex(inf, -1), complex(nan, 1), complex(nan, nan)},
  1849  	Test{complex(inf, -1), complex(nan, -1), complex(nan, nan)},
  1850  	Test{complex(inf, -1), complex(nan, 2), complex(nan, nan)},
  1851  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1852  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1853  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1854  	Test{complex(inf, -1), complex(inf, 0), complex(-nan, -nan)},
  1855  	Test{complex(inf, -1), complex(inf, 1), complex(-nan, -nan)},
  1856  	Test{complex(inf, -1), complex(inf, -1), complex(-nan, -nan)},
  1857  	Test{complex(inf, -1), complex(inf, 2), complex(-nan, -nan)},
  1858  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1859  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1860  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1861  	Test{complex(inf, -1), complex(-inf, 0), complex(-nan, -nan)},
  1862  	Test{complex(inf, -1), complex(-inf, 1), complex(-nan, -nan)},
  1863  	Test{complex(inf, -1), complex(-inf, -1), complex(-nan, -nan)},
  1864  	Test{complex(inf, -1), complex(-inf, 2), complex(-nan, -nan)},
  1865  	Test{complex(inf, -1), complex(nan, nan), complex(nan, nan)},
  1866  	Test{complex(inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  1867  	Test{complex(inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  1868  	Test{complex(inf, 2), complex(0, 0), complex(inf, inf)},
  1869  	Test{complex(inf, 2), complex(0, 1), complex(-nan, -inf)},
  1870  	Test{complex(inf, 2), complex(0, -1), complex(-nan, inf)},
  1871  	Test{complex(inf, 2), complex(0, 2), complex(-nan, -inf)},
  1872  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1873  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1874  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1875  	Test{complex(inf, 2), complex(1, 0), complex(inf, -nan)},
  1876  	Test{complex(inf, 2), complex(1, 1), complex(inf, -inf)},
  1877  	Test{complex(inf, 2), complex(1, -1), complex(inf, inf)},
  1878  	Test{complex(inf, 2), complex(1, 2), complex(inf, -inf)},
  1879  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1880  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1881  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1882  	Test{complex(inf, 2), complex(-1, 0), complex(-inf, -nan)},
  1883  	Test{complex(inf, 2), complex(-1, 1), complex(-inf, -inf)},
  1884  	Test{complex(inf, 2), complex(-1, -1), complex(-inf, inf)},
  1885  	Test{complex(inf, 2), complex(-1, 2), complex(-inf, -inf)},
  1886  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1887  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1888  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1889  	Test{complex(inf, 2), complex(2, 0), complex(inf, -nan)},
  1890  	Test{complex(inf, 2), complex(2, 1), complex(inf, -inf)},
  1891  	Test{complex(inf, 2), complex(2, -1), complex(inf, inf)},
  1892  	Test{complex(inf, 2), complex(2, 2), complex(inf, -inf)},
  1893  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1894  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1895  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1896  	Test{complex(inf, 2), complex(nan, 0), complex(nan, nan)},
  1897  	Test{complex(inf, 2), complex(nan, 1), complex(nan, nan)},
  1898  	Test{complex(inf, 2), complex(nan, -1), complex(nan, nan)},
  1899  	Test{complex(inf, 2), complex(nan, 2), complex(nan, nan)},
  1900  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1901  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1902  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1903  	Test{complex(inf, 2), complex(inf, 0), complex(-nan, -nan)},
  1904  	Test{complex(inf, 2), complex(inf, 1), complex(-nan, -nan)},
  1905  	Test{complex(inf, 2), complex(inf, -1), complex(-nan, -nan)},
  1906  	Test{complex(inf, 2), complex(inf, 2), complex(-nan, -nan)},
  1907  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1908  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1909  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1910  	Test{complex(inf, 2), complex(-inf, 0), complex(-nan, -nan)},
  1911  	Test{complex(inf, 2), complex(-inf, 1), complex(-nan, -nan)},
  1912  	Test{complex(inf, 2), complex(-inf, -1), complex(-nan, -nan)},
  1913  	Test{complex(inf, 2), complex(-inf, 2), complex(-nan, -nan)},
  1914  	Test{complex(inf, 2), complex(nan, nan), complex(nan, nan)},
  1915  	Test{complex(inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  1916  	Test{complex(inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  1917  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
  1918  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
  1919  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
  1920  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
  1921  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1922  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1923  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1924  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
  1925  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
  1926  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
  1927  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
  1928  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1929  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1930  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1931  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
  1932  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
  1933  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
  1934  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
  1935  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1936  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1937  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1938  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
  1939  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
  1940  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
  1941  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
  1942  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1943  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1944  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1945  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
  1946  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
  1947  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
  1948  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
  1949  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1950  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1951  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1952  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
  1953  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
  1954  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
  1955  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
  1956  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1957  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1958  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1959  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
  1960  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
  1961  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
  1962  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
  1963  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  1964  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  1965  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  1966  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
  1967  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
  1968  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
  1969  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
  1970  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1971  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1972  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1973  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
  1974  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
  1975  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
  1976  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
  1977  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1978  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1979  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1980  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
  1981  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
  1982  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
  1983  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
  1984  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1985  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1986  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1987  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
  1988  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
  1989  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
  1990  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
  1991  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1992  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  1993  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  1994  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
  1995  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
  1996  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
  1997  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
  1998  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  1999  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2000  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2001  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
  2002  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
  2003  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
  2004  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
  2005  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2006  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2007  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2008  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
  2009  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
  2010  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
  2011  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
  2012  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2013  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2014  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2015  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
  2016  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
  2017  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
  2018  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
  2019  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2020  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2021  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2022  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
  2023  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
  2024  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
  2025  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
  2026  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2027  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2028  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2029  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
  2030  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
  2031  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
  2032  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
  2033  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2034  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2035  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2036  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
  2037  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
  2038  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
  2039  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
  2040  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2041  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2042  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2043  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
  2044  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
  2045  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
  2046  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
  2047  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2048  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2049  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2050  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
  2051  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
  2052  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
  2053  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
  2054  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2055  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2056  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2057  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
  2058  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
  2059  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
  2060  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
  2061  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2062  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2063  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2064  	Test{complex(-inf, 0), complex(0, 0), complex(-inf, -nan)},
  2065  	Test{complex(-inf, 0), complex(0, 1), complex(-nan, inf)},
  2066  	Test{complex(-inf, 0), complex(0, -1), complex(-nan, -inf)},
  2067  	Test{complex(-inf, 0), complex(0, 2), complex(-nan, inf)},
  2068  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2069  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2070  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2071  	Test{complex(-inf, 0), complex(1, 0), complex(-inf, -nan)},
  2072  	Test{complex(-inf, 0), complex(1, 1), complex(-inf, inf)},
  2073  	Test{complex(-inf, 0), complex(1, -1), complex(-inf, -inf)},
  2074  	Test{complex(-inf, 0), complex(1, 2), complex(-inf, inf)},
  2075  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2076  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2077  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2078  	Test{complex(-inf, 0), complex(-1, 0), complex(inf, -nan)},
  2079  	Test{complex(-inf, 0), complex(-1, 1), complex(inf, inf)},
  2080  	Test{complex(-inf, 0), complex(-1, -1), complex(inf, -inf)},
  2081  	Test{complex(-inf, 0), complex(-1, 2), complex(inf, inf)},
  2082  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2083  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2084  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2085  	Test{complex(-inf, 0), complex(2, 0), complex(-inf, -nan)},
  2086  	Test{complex(-inf, 0), complex(2, 1), complex(-inf, inf)},
  2087  	Test{complex(-inf, 0), complex(2, -1), complex(-inf, -inf)},
  2088  	Test{complex(-inf, 0), complex(2, 2), complex(-inf, inf)},
  2089  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2090  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2091  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2092  	Test{complex(-inf, 0), complex(nan, 0), complex(nan, nan)},
  2093  	Test{complex(-inf, 0), complex(nan, 1), complex(nan, nan)},
  2094  	Test{complex(-inf, 0), complex(nan, -1), complex(nan, nan)},
  2095  	Test{complex(-inf, 0), complex(nan, 2), complex(nan, nan)},
  2096  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2097  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2098  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2099  	Test{complex(-inf, 0), complex(inf, 0), complex(-nan, -nan)},
  2100  	Test{complex(-inf, 0), complex(inf, 1), complex(-nan, -nan)},
  2101  	Test{complex(-inf, 0), complex(inf, -1), complex(-nan, -nan)},
  2102  	Test{complex(-inf, 0), complex(inf, 2), complex(-nan, -nan)},
  2103  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2104  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2105  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2106  	Test{complex(-inf, 0), complex(-inf, 0), complex(-nan, -nan)},
  2107  	Test{complex(-inf, 0), complex(-inf, 1), complex(-nan, -nan)},
  2108  	Test{complex(-inf, 0), complex(-inf, -1), complex(-nan, -nan)},
  2109  	Test{complex(-inf, 0), complex(-inf, 2), complex(-nan, -nan)},
  2110  	Test{complex(-inf, 0), complex(nan, nan), complex(nan, nan)},
  2111  	Test{complex(-inf, 0), complex(-nan, inf), complex(-nan, -nan)},
  2112  	Test{complex(-inf, 0), complex(-nan, -inf), complex(-nan, -nan)},
  2113  	Test{complex(-inf, 1), complex(0, 0), complex(-inf, inf)},
  2114  	Test{complex(-inf, 1), complex(0, 1), complex(-nan, inf)},
  2115  	Test{complex(-inf, 1), complex(0, -1), complex(-nan, -inf)},
  2116  	Test{complex(-inf, 1), complex(0, 2), complex(-nan, inf)},
  2117  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2118  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2119  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2120  	Test{complex(-inf, 1), complex(1, 0), complex(-inf, -nan)},
  2121  	Test{complex(-inf, 1), complex(1, 1), complex(-inf, inf)},
  2122  	Test{complex(-inf, 1), complex(1, -1), complex(-inf, -inf)},
  2123  	Test{complex(-inf, 1), complex(1, 2), complex(-inf, inf)},
  2124  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2125  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2126  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2127  	Test{complex(-inf, 1), complex(-1, 0), complex(inf, -nan)},
  2128  	Test{complex(-inf, 1), complex(-1, 1), complex(inf, inf)},
  2129  	Test{complex(-inf, 1), complex(-1, -1), complex(inf, -inf)},
  2130  	Test{complex(-inf, 1), complex(-1, 2), complex(inf, inf)},
  2131  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2132  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2133  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2134  	Test{complex(-inf, 1), complex(2, 0), complex(-inf, -nan)},
  2135  	Test{complex(-inf, 1), complex(2, 1), complex(-inf, inf)},
  2136  	Test{complex(-inf, 1), complex(2, -1), complex(-inf, -inf)},
  2137  	Test{complex(-inf, 1), complex(2, 2), complex(-inf, inf)},
  2138  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2139  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2140  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2141  	Test{complex(-inf, 1), complex(nan, 0), complex(nan, nan)},
  2142  	Test{complex(-inf, 1), complex(nan, 1), complex(nan, nan)},
  2143  	Test{complex(-inf, 1), complex(nan, -1), complex(nan, nan)},
  2144  	Test{complex(-inf, 1), complex(nan, 2), complex(nan, nan)},
  2145  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2146  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2147  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2148  	Test{complex(-inf, 1), complex(inf, 0), complex(-nan, -nan)},
  2149  	Test{complex(-inf, 1), complex(inf, 1), complex(-nan, -nan)},
  2150  	Test{complex(-inf, 1), complex(inf, -1), complex(-nan, -nan)},
  2151  	Test{complex(-inf, 1), complex(inf, 2), complex(-nan, -nan)},
  2152  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2153  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2154  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2155  	Test{complex(-inf, 1), complex(-inf, 0), complex(-nan, -nan)},
  2156  	Test{complex(-inf, 1), complex(-inf, 1), complex(-nan, -nan)},
  2157  	Test{complex(-inf, 1), complex(-inf, -1), complex(-nan, -nan)},
  2158  	Test{complex(-inf, 1), complex(-inf, 2), complex(-nan, -nan)},
  2159  	Test{complex(-inf, 1), complex(nan, nan), complex(nan, nan)},
  2160  	Test{complex(-inf, 1), complex(-nan, inf), complex(-nan, -nan)},
  2161  	Test{complex(-inf, 1), complex(-nan, -inf), complex(-nan, -nan)},
  2162  	Test{complex(-inf, -1), complex(0, 0), complex(-inf, -inf)},
  2163  	Test{complex(-inf, -1), complex(0, 1), complex(-nan, inf)},
  2164  	Test{complex(-inf, -1), complex(0, -1), complex(-nan, -inf)},
  2165  	Test{complex(-inf, -1), complex(0, 2), complex(-nan, inf)},
  2166  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2167  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2168  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2169  	Test{complex(-inf, -1), complex(1, 0), complex(-inf, -nan)},
  2170  	Test{complex(-inf, -1), complex(1, 1), complex(-inf, inf)},
  2171  	Test{complex(-inf, -1), complex(1, -1), complex(-inf, -inf)},
  2172  	Test{complex(-inf, -1), complex(1, 2), complex(-inf, inf)},
  2173  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2174  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2175  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2176  	Test{complex(-inf, -1), complex(-1, 0), complex(inf, -nan)},
  2177  	Test{complex(-inf, -1), complex(-1, 1), complex(inf, inf)},
  2178  	Test{complex(-inf, -1), complex(-1, -1), complex(inf, -inf)},
  2179  	Test{complex(-inf, -1), complex(-1, 2), complex(inf, inf)},
  2180  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2181  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2182  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2183  	Test{complex(-inf, -1), complex(2, 0), complex(-inf, -nan)},
  2184  	Test{complex(-inf, -1), complex(2, 1), complex(-inf, inf)},
  2185  	Test{complex(-inf, -1), complex(2, -1), complex(-inf, -inf)},
  2186  	Test{complex(-inf, -1), complex(2, 2), complex(-inf, inf)},
  2187  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2188  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2189  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2190  	Test{complex(-inf, -1), complex(nan, 0), complex(nan, nan)},
  2191  	Test{complex(-inf, -1), complex(nan, 1), complex(nan, nan)},
  2192  	Test{complex(-inf, -1), complex(nan, -1), complex(nan, nan)},
  2193  	Test{complex(-inf, -1), complex(nan, 2), complex(nan, nan)},
  2194  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2195  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2196  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2197  	Test{complex(-inf, -1), complex(inf, 0), complex(-nan, -nan)},
  2198  	Test{complex(-inf, -1), complex(inf, 1), complex(-nan, -nan)},
  2199  	Test{complex(-inf, -1), complex(inf, -1), complex(-nan, -nan)},
  2200  	Test{complex(-inf, -1), complex(inf, 2), complex(-nan, -nan)},
  2201  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2202  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2203  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2204  	Test{complex(-inf, -1), complex(-inf, 0), complex(-nan, -nan)},
  2205  	Test{complex(-inf, -1), complex(-inf, 1), complex(-nan, -nan)},
  2206  	Test{complex(-inf, -1), complex(-inf, -1), complex(-nan, -nan)},
  2207  	Test{complex(-inf, -1), complex(-inf, 2), complex(-nan, -nan)},
  2208  	Test{complex(-inf, -1), complex(nan, nan), complex(nan, nan)},
  2209  	Test{complex(-inf, -1), complex(-nan, inf), complex(-nan, -nan)},
  2210  	Test{complex(-inf, -1), complex(-nan, -inf), complex(-nan, -nan)},
  2211  	Test{complex(-inf, 2), complex(0, 0), complex(-inf, inf)},
  2212  	Test{complex(-inf, 2), complex(0, 1), complex(-nan, inf)},
  2213  	Test{complex(-inf, 2), complex(0, -1), complex(-nan, -inf)},
  2214  	Test{complex(-inf, 2), complex(0, 2), complex(-nan, inf)},
  2215  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2216  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2217  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2218  	Test{complex(-inf, 2), complex(1, 0), complex(-inf, -nan)},
  2219  	Test{complex(-inf, 2), complex(1, 1), complex(-inf, inf)},
  2220  	Test{complex(-inf, 2), complex(1, -1), complex(-inf, -inf)},
  2221  	Test{complex(-inf, 2), complex(1, 2), complex(-inf, inf)},
  2222  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2223  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2224  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2225  	Test{complex(-inf, 2), complex(-1, 0), complex(inf, -nan)},
  2226  	Test{complex(-inf, 2), complex(-1, 1), complex(inf, inf)},
  2227  	Test{complex(-inf, 2), complex(-1, -1), complex(inf, -inf)},
  2228  	Test{complex(-inf, 2), complex(-1, 2), complex(inf, inf)},
  2229  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2230  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2231  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2232  	Test{complex(-inf, 2), complex(2, 0), complex(-inf, -nan)},
  2233  	Test{complex(-inf, 2), complex(2, 1), complex(-inf, inf)},
  2234  	Test{complex(-inf, 2), complex(2, -1), complex(-inf, -inf)},
  2235  	Test{complex(-inf, 2), complex(2, 2), complex(-inf, inf)},
  2236  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2237  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2238  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2239  	Test{complex(-inf, 2), complex(nan, 0), complex(nan, nan)},
  2240  	Test{complex(-inf, 2), complex(nan, 1), complex(nan, nan)},
  2241  	Test{complex(-inf, 2), complex(nan, -1), complex(nan, nan)},
  2242  	Test{complex(-inf, 2), complex(nan, 2), complex(nan, nan)},
  2243  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2244  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2245  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2246  	Test{complex(-inf, 2), complex(inf, 0), complex(-nan, -nan)},
  2247  	Test{complex(-inf, 2), complex(inf, 1), complex(-nan, -nan)},
  2248  	Test{complex(-inf, 2), complex(inf, -1), complex(-nan, -nan)},
  2249  	Test{complex(-inf, 2), complex(inf, 2), complex(-nan, -nan)},
  2250  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2251  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2252  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2253  	Test{complex(-inf, 2), complex(-inf, 0), complex(-nan, -nan)},
  2254  	Test{complex(-inf, 2), complex(-inf, 1), complex(-nan, -nan)},
  2255  	Test{complex(-inf, 2), complex(-inf, -1), complex(-nan, -nan)},
  2256  	Test{complex(-inf, 2), complex(-inf, 2), complex(-nan, -nan)},
  2257  	Test{complex(-inf, 2), complex(nan, nan), complex(nan, nan)},
  2258  	Test{complex(-inf, 2), complex(-nan, inf), complex(-nan, -nan)},
  2259  	Test{complex(-inf, 2), complex(-nan, -inf), complex(-nan, -nan)},
  2260  	Test{complex(nan, nan), complex(0, 0), complex(nan, nan)},
  2261  	Test{complex(nan, nan), complex(0, 1), complex(nan, nan)},
  2262  	Test{complex(nan, nan), complex(0, -1), complex(nan, nan)},
  2263  	Test{complex(nan, nan), complex(0, 2), complex(nan, nan)},
  2264  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2265  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2266  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2267  	Test{complex(nan, nan), complex(1, 0), complex(nan, nan)},
  2268  	Test{complex(nan, nan), complex(1, 1), complex(nan, nan)},
  2269  	Test{complex(nan, nan), complex(1, -1), complex(nan, nan)},
  2270  	Test{complex(nan, nan), complex(1, 2), complex(nan, nan)},
  2271  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2272  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2273  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2274  	Test{complex(nan, nan), complex(-1, 0), complex(nan, nan)},
  2275  	Test{complex(nan, nan), complex(-1, 1), complex(nan, nan)},
  2276  	Test{complex(nan, nan), complex(-1, -1), complex(nan, nan)},
  2277  	Test{complex(nan, nan), complex(-1, 2), complex(nan, nan)},
  2278  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2279  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2280  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2281  	Test{complex(nan, nan), complex(2, 0), complex(nan, nan)},
  2282  	Test{complex(nan, nan), complex(2, 1), complex(nan, nan)},
  2283  	Test{complex(nan, nan), complex(2, -1), complex(nan, nan)},
  2284  	Test{complex(nan, nan), complex(2, 2), complex(nan, nan)},
  2285  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2286  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2287  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2288  	Test{complex(nan, nan), complex(nan, 0), complex(nan, nan)},
  2289  	Test{complex(nan, nan), complex(nan, 1), complex(nan, nan)},
  2290  	Test{complex(nan, nan), complex(nan, -1), complex(nan, nan)},
  2291  	Test{complex(nan, nan), complex(nan, 2), complex(nan, nan)},
  2292  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2293  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2294  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2295  	Test{complex(nan, nan), complex(inf, 0), complex(nan, nan)},
  2296  	Test{complex(nan, nan), complex(inf, 1), complex(nan, nan)},
  2297  	Test{complex(nan, nan), complex(inf, -1), complex(nan, nan)},
  2298  	Test{complex(nan, nan), complex(inf, 2), complex(nan, nan)},
  2299  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2300  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2301  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2302  	Test{complex(nan, nan), complex(-inf, 0), complex(nan, nan)},
  2303  	Test{complex(nan, nan), complex(-inf, 1), complex(nan, nan)},
  2304  	Test{complex(nan, nan), complex(-inf, -1), complex(nan, nan)},
  2305  	Test{complex(nan, nan), complex(-inf, 2), complex(nan, nan)},
  2306  	Test{complex(nan, nan), complex(nan, nan), complex(nan, nan)},
  2307  	Test{complex(nan, nan), complex(-nan, inf), complex(nan, nan)},
  2308  	Test{complex(nan, nan), complex(-nan, -inf), complex(nan, nan)},
  2309  	Test{complex(-nan, inf), complex(0, 0), complex(-nan, inf)},
  2310  	Test{complex(-nan, inf), complex(0, 1), complex(inf, -nan)},
  2311  	Test{complex(-nan, inf), complex(0, -1), complex(-inf, -nan)},
  2312  	Test{complex(-nan, inf), complex(0, 2), complex(inf, -nan)},
  2313  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2314  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2315  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2316  	Test{complex(-nan, inf), complex(1, 0), complex(-nan, inf)},
  2317  	Test{complex(-nan, inf), complex(1, 1), complex(inf, inf)},
  2318  	Test{complex(-nan, inf), complex(1, -1), complex(-inf, inf)},
  2319  	Test{complex(-nan, inf), complex(1, 2), complex(inf, inf)},
  2320  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2321  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2322  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2323  	Test{complex(-nan, inf), complex(-1, 0), complex(-nan, -inf)},
  2324  	Test{complex(-nan, inf), complex(-1, 1), complex(inf, -inf)},
  2325  	Test{complex(-nan, inf), complex(-1, -1), complex(-inf, -inf)},
  2326  	Test{complex(-nan, inf), complex(-1, 2), complex(inf, -inf)},
  2327  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2328  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2329  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2330  	Test{complex(-nan, inf), complex(2, 0), complex(-nan, inf)},
  2331  	Test{complex(-nan, inf), complex(2, 1), complex(inf, inf)},
  2332  	Test{complex(-nan, inf), complex(2, -1), complex(-inf, inf)},
  2333  	Test{complex(-nan, inf), complex(2, 2), complex(inf, inf)},
  2334  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2335  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2336  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2337  	Test{complex(-nan, inf), complex(nan, 0), complex(nan, nan)},
  2338  	Test{complex(-nan, inf), complex(nan, 1), complex(nan, nan)},
  2339  	Test{complex(-nan, inf), complex(nan, -1), complex(nan, nan)},
  2340  	Test{complex(-nan, inf), complex(nan, 2), complex(nan, nan)},
  2341  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2342  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2343  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2344  	Test{complex(-nan, inf), complex(inf, 0), complex(-nan, -nan)},
  2345  	Test{complex(-nan, inf), complex(inf, 1), complex(-nan, -nan)},
  2346  	Test{complex(-nan, inf), complex(inf, -1), complex(-nan, -nan)},
  2347  	Test{complex(-nan, inf), complex(inf, 2), complex(-nan, -nan)},
  2348  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2349  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2350  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2351  	Test{complex(-nan, inf), complex(-inf, 0), complex(-nan, -nan)},
  2352  	Test{complex(-nan, inf), complex(-inf, 1), complex(-nan, -nan)},
  2353  	Test{complex(-nan, inf), complex(-inf, -1), complex(-nan, -nan)},
  2354  	Test{complex(-nan, inf), complex(-inf, 2), complex(-nan, -nan)},
  2355  	Test{complex(-nan, inf), complex(nan, nan), complex(nan, nan)},
  2356  	Test{complex(-nan, inf), complex(-nan, inf), complex(-nan, -nan)},
  2357  	Test{complex(-nan, inf), complex(-nan, -inf), complex(-nan, -nan)},
  2358  	Test{complex(-nan, -inf), complex(0, 0), complex(-nan, -inf)},
  2359  	Test{complex(-nan, -inf), complex(0, 1), complex(-inf, -nan)},
  2360  	Test{complex(-nan, -inf), complex(0, -1), complex(inf, -nan)},
  2361  	Test{complex(-nan, -inf), complex(0, 2), complex(-inf, -nan)},
  2362  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2363  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2364  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2365  	Test{complex(-nan, -inf), complex(1, 0), complex(-nan, -inf)},
  2366  	Test{complex(-nan, -inf), complex(1, 1), complex(-inf, -inf)},
  2367  	Test{complex(-nan, -inf), complex(1, -1), complex(inf, -inf)},
  2368  	Test{complex(-nan, -inf), complex(1, 2), complex(-inf, -inf)},
  2369  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2370  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2371  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2372  	Test{complex(-nan, -inf), complex(-1, 0), complex(-nan, inf)},
  2373  	Test{complex(-nan, -inf), complex(-1, 1), complex(-inf, inf)},
  2374  	Test{complex(-nan, -inf), complex(-1, -1), complex(inf, inf)},
  2375  	Test{complex(-nan, -inf), complex(-1, 2), complex(-inf, inf)},
  2376  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2377  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2378  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2379  	Test{complex(-nan, -inf), complex(2, 0), complex(-nan, -inf)},
  2380  	Test{complex(-nan, -inf), complex(2, 1), complex(-inf, -inf)},
  2381  	Test{complex(-nan, -inf), complex(2, -1), complex(inf, -inf)},
  2382  	Test{complex(-nan, -inf), complex(2, 2), complex(-inf, -inf)},
  2383  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2384  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2385  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2386  	Test{complex(-nan, -inf), complex(nan, 0), complex(nan, nan)},
  2387  	Test{complex(-nan, -inf), complex(nan, 1), complex(nan, nan)},
  2388  	Test{complex(-nan, -inf), complex(nan, -1), complex(nan, nan)},
  2389  	Test{complex(-nan, -inf), complex(nan, 2), complex(nan, nan)},
  2390  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2391  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2392  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2393  	Test{complex(-nan, -inf), complex(inf, 0), complex(-nan, -nan)},
  2394  	Test{complex(-nan, -inf), complex(inf, 1), complex(-nan, -nan)},
  2395  	Test{complex(-nan, -inf), complex(inf, -1), complex(-nan, -nan)},
  2396  	Test{complex(-nan, -inf), complex(inf, 2), complex(-nan, -nan)},
  2397  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2398  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2399  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2400  	Test{complex(-nan, -inf), complex(-inf, 0), complex(-nan, -nan)},
  2401  	Test{complex(-nan, -inf), complex(-inf, 1), complex(-nan, -nan)},
  2402  	Test{complex(-nan, -inf), complex(-inf, -1), complex(-nan, -nan)},
  2403  	Test{complex(-nan, -inf), complex(-inf, 2), complex(-nan, -nan)},
  2404  	Test{complex(-nan, -inf), complex(nan, nan), complex(nan, nan)},
  2405  	Test{complex(-nan, -inf), complex(-nan, inf), complex(-nan, -nan)},
  2406  	Test{complex(-nan, -inf), complex(-nan, -inf), complex(-nan, -nan)},
  2407  }