Lines Matching refs:xtype

51     int xtype, ytype;  in GMPy_MPANY_cmp()  local
64 xtype = GMPy_ObjectType(x); in GMPy_MPANY_cmp()
67 if (IS_TYPE_INTEGER(xtype) && IS_TYPE_INTEGER(ytype)) { in GMPy_MPANY_cmp()
70 if (!(tempx = GMPy_MPZ_From_IntegerWithType(x, xtype, context)) || in GMPy_MPANY_cmp()
85 if (IS_TYPE_RATIONAL(xtype) && IS_TYPE_INTEGER(ytype)) { in GMPy_MPANY_cmp()
89 if (!(tempx = GMPy_MPQ_From_RationalWithType(x, xtype, context)) || in GMPy_MPANY_cmp()
104 if (IS_TYPE_INTEGER(xtype) && IS_TYPE_RATIONAL(ytype)) { in GMPy_MPANY_cmp()
108 if (!(tempx = GMPy_MPZ_From_IntegerWithType(x, xtype, context)) || in GMPy_MPANY_cmp()
123 if (IS_TYPE_RATIONAL(xtype) && IS_TYPE_RATIONAL(ytype)) { in GMPy_MPANY_cmp()
126 if (!(tempx = GMPy_MPQ_From_RationalWithType(x, xtype, context)) || in GMPy_MPANY_cmp()
144 if (IS_TYPE_REAL(xtype) && IS_TYPE_INTEGER(ytype)) { in GMPy_MPANY_cmp()
148 if (!(tempx = GMPy_MPFR_From_RealWithType(x, xtype, 1, context)) || in GMPy_MPANY_cmp()
165 if (IS_TYPE_REAL(xtype) && IS_TYPE_RATIONAL(ytype)) { in GMPy_MPANY_cmp()
169 if (!(tempx = GMPy_MPFR_From_RealWithType(x, xtype, 1, context)) || in GMPy_MPANY_cmp()
186 if (IS_TYPE_REAL(xtype) && IS_TYPE_REAL(ytype)) { in GMPy_MPANY_cmp()
190 if (!(tempx = GMPy_MPFR_From_RealWithType(x, xtype, 1, context)) || in GMPy_MPANY_cmp()
207 if (IS_TYPE_INTEGER(xtype) && IS_TYPE_REAL(ytype)) { in GMPy_MPANY_cmp()
211 if (!(tempx = GMPy_MPZ_From_IntegerWithType(x, xtype, context)) || in GMPy_MPANY_cmp()
228 if (IS_TYPE_RATIONAL(xtype) && IS_TYPE_REAL(ytype)) { in GMPy_MPANY_cmp()
232 if (!(tempx = GMPy_MPQ_From_RationalWithType(x, xtype, context)) || in GMPy_MPANY_cmp()
262 int xtype, ytype; in GMPy_MPANY_cmp_abs() local
275 xtype = GMPy_ObjectType(x); in GMPy_MPANY_cmp_abs()
278 if (IS_TYPE_INTEGER(xtype) && IS_TYPE_INTEGER(ytype)) { in GMPy_MPANY_cmp_abs()
281 if (!(tempx = GMPy_MPZ_From_IntegerWithType(x, xtype, context)) || in GMPy_MPANY_cmp_abs()
296 if (IS_TYPE_RATIONAL(xtype) && IS_TYPE_INTEGER(ytype)) { in GMPy_MPANY_cmp_abs()
300 if (!(tempx = GMPy_MPQ_From_RationalWithTypeAndCopy(x, xtype, context)) || in GMPy_MPANY_cmp_abs()
318 if (IS_TYPE_INTEGER(xtype) && IS_TYPE_RATIONAL(ytype)) { in GMPy_MPANY_cmp_abs()
322 if (!(tempx = GMPy_MPZ_From_IntegerWithTypeAndCopy(x,xtype, context)) || in GMPy_MPANY_cmp_abs()
340 if (IS_TYPE_RATIONAL(xtype) && IS_TYPE_RATIONAL(ytype)) { in GMPy_MPANY_cmp_abs()
343 if (!(tempx = GMPy_MPQ_From_RationalWithTypeAndCopy(x, xtype, context)) || in GMPy_MPANY_cmp_abs()
364 if (IS_TYPE_REAL(xtype) && IS_TYPE_INTEGER(ytype)) { in GMPy_MPANY_cmp_abs()
368 if (!(tempx = GMPy_MPFR_From_RealWithTypeAndCopy(x, xtype, 1, context)) || in GMPy_MPANY_cmp_abs()
388 if (IS_TYPE_REAL(xtype) && IS_TYPE_RATIONAL(ytype)) { in GMPy_MPANY_cmp_abs()
392 if (!(tempx = GMPy_MPFR_From_RealWithTypeAndCopy(x, xtype, 1, context)) || in GMPy_MPANY_cmp_abs()
412 if (IS_TYPE_REAL(xtype) && IS_TYPE_REAL(ytype)) { in GMPy_MPANY_cmp_abs()
416 if (!(tempx = GMPy_MPFR_From_RealWithType(x, xtype, 1, context)) || in GMPy_MPANY_cmp_abs()
433 if (IS_TYPE_INTEGER(xtype) && IS_TYPE_REAL(ytype)) { in GMPy_MPANY_cmp_abs()
437 if (!(tempx = GMPy_MPZ_From_IntegerWithTypeAndCopy(x, xtype, context)) || in GMPy_MPANY_cmp_abs()
457 if (IS_TYPE_RATIONAL(xtype) && IS_TYPE_REAL(ytype)) { in GMPy_MPANY_cmp_abs()
461 if (!(tempx = GMPy_MPQ_From_RationalWithTypeAndCopy(x, xtype, context)) || in GMPy_MPANY_cmp_abs()
462 !(tempy = GMPy_MPFR_From_RealWithTypeAndCopy(y, xtype, 1, context))) { in GMPy_MPANY_cmp_abs()
485 if (IS_TYPE_COMPLEX(xtype) && IS_TYPE_COMPLEX(ytype)) { in GMPy_MPANY_cmp_abs()
489 if (!(tempx = GMPy_MPC_From_ComplexWithType(x, xtype, 1, 1, context)) || in GMPy_MPANY_cmp_abs()