Changeset c3238c9 in git for Singular/iparith.cc
 Timestamp:
 Oct 25, 2011, 5:15:41 PM (12 years ago)
 Branches:
 (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
 Children:
 fc497757365979d0168460de9969b49bc49c53f2
 Parents:
 eafa0edca582876575051b2b543608fd75a2bd48
 gitauthor:
 Hans Schoenemann <hannes@mathematik.unikl.de>20111025 17:15:41+02:00
 gitcommitter:
 Mohamed Barakat <mohamed.barakat@rwthaachen.de>20111109 16:14:10+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

Singular/iparith.cc
reafa0ed rc3238c9 960 960 static BOOLEAN jjGE_I(leftv res, leftv u, leftv v) 961 961 { 962 res>data = (char *)( (int)((long)u>Data()) >= (int)((long)v>Data()));962 res>data = (char *)(long)((int)((long)u>Data()) >= (int)((long)v>Data())); 963 963 return FALSE; 964 964 } 965 965 static BOOLEAN jjGE_N(leftv res, leftv u, leftv v) 966 966 { 967 res>data = (char *) (nGreater((number)u>Data(),(number)v>Data())967 res>data = (char *)(long) (nGreater((number)u>Data(),(number)v>Data()) 968 968  nEqual((number)u>Data(),(number)v>Data())); 969 969 return FALSE; … … 972 972 { 973 973 number h=n_Sub((number)u>Data(),(number)v>Data(),coeffs_BIGINT); 974 res>data = (char *) (n_GreaterZero(h,coeffs_BIGINT)&&(!n_IsZero(h,coeffs_BIGINT)));974 res>data = (char *)(long) (n_GreaterZero(h,coeffs_BIGINT)&&(!n_IsZero(h,coeffs_BIGINT))); 975 975 n_Delete(&h,coeffs_BIGINT); 976 976 return FALSE; … … 978 978 static BOOLEAN jjGT_I(leftv res, leftv u, leftv v) 979 979 { 980 res>data = (char *)( (int)((long)u>Data()) > (int)((long)v>Data()));980 res>data = (char *)(long)((int)((long)u>Data()) > (int)((long)v>Data())); 981 981 return FALSE; 982 982 } 983 983 static BOOLEAN jjGT_N(leftv res, leftv u, leftv v) 984 984 { 985 res>data = (char *) 985 res>data = (char *)(long)(nGreater((number)u>Data(),(number)v>Data())); 986 986 return FALSE; 987 987 } … … 992 992 static BOOLEAN jjLE_I(leftv res, leftv u, leftv v) 993 993 { 994 res>data = (char *)( (int)((long)u>Data()) <= (int)((long)v>Data()));994 res>data = (char *)(long)((int)((long)u>Data()) <= (int)((long)v>Data())); 995 995 return FALSE; 996 996 } … … 1005 1005 static BOOLEAN jjLT_I(leftv res, leftv u, leftv v) 1006 1006 { 1007 res>data = (char *)( (int)((long)u>Data()) < (int)((long)v>Data()));1007 res>data = (char *)(long)((int)((long)u>Data()) < (int)((long)v>Data())); 1008 1008 return FALSE; 1009 1009 }
Note: See TracChangeset
for help on using the changeset viewer.