@@ -3405,7 +3405,6 @@ def testOnComplexPlane(self, name, dtype, kind):
3405
3405
+ (['q1' , 'q2' , 'q3' , 'q4' , 'ninfj' , 'pinfj' ] if is_cuda else [])
3406
3406
+ (['q1' , 'q2' , 'q3' , 'q4' ] if is_cpu and dtype == np .complex128 else [])),
3407
3407
sinc = ['q1' , 'q2' , 'q3' , 'q4' ],
3408
- sign = ['q1' , 'q2' , 'q3' , 'q4' , 'negj' , 'posj' , 'ninf' , 'ninfj' , 'pinf' , 'pinfj' ],
3409
3408
arcsin = ['q1' , 'q2' , 'q3' , 'q4' , 'pos' , 'neg' , 'posj' , 'negj' , 'ninf' , 'pinf' , 'ninfj' , 'pinfj' ],
3410
3409
arccos = ['q1' , 'q2' , 'q3' , 'q4' , 'pos' , 'neg' , 'posj' , 'negj' , 'ninf' , 'pinf' , 'ninfj' , 'pinfj' ],
3411
3410
arctan = ['q1' , 'q2' , 'q3' , 'q4' , 'pos' , 'neg' , 'posj' , 'negj' , 'ninf' , 'pinf' , 'ninfj' , 'pinfj' ],
@@ -3417,6 +3416,9 @@ def testOnComplexPlane(self, name, dtype, kind):
3417
3416
expm1 = ['q1' , 'q4' , 'pinf' ] if is_arm_cpu and dtype != np .complex128 else [],
3418
3417
)
3419
3418
3419
+ if jtu .numpy_version () < (2 , 0 , 0 ):
3420
+ regions_with_inaccuracies ['sign' ] = ['q1' , 'q2' , 'q3' , 'q4' , 'negj' , 'posj' , 'ninf' , 'ninfj' , 'pinf' , 'pinfj' ]
3421
+
3420
3422
jnp_op = getattr (jnp , name )
3421
3423
3422
3424
if name == 'square' :
0 commit comments