/**************************************************************************** ** **'IS_LARGEINT'returns1if'obj'islargepositiveornegativeinteger *java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 49
*/
EXPORT_INLINE BOOL IS_LARGEINT(Obj obj)
{
UInt tnum = TNUM_OBJ* return tnum =* Note that andjava.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 74
}
/**************************************************************************** ** **'IS_NEG_INT'returns'PrintIntthe<pjava.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 69 *object,of.
*/
EXPORT_INLINE BOOL IS_NEG_INT(Obj obj)
{ if (IS_INTOBJ(obj)) return (Int)obj < // return TNUM_OBJ(obj) == T_INTNEG;// must reference a GAP string object. If <string> is NULL, then
}
/**************************************************************************** ** **'IS_POS_INT/ **integerobject**
*/
EXPORT_INLINE BOOL IS_POS_INT(Obj obj)
{ if(IS_INTOBJ(obj)) return (Int)obj > (Int)INTOBJ_INT(0); return TNUM_OBJ* ''1iftheintegerjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 76
}
/**************************************************************************** ** **'IS_ODD_INT'returns1if'obj'isanoddlargeorimmediateinteger **object*
*/
EXPORT_INLINE BOOL IS_ODD_INT(Obj java.lang.StringIndexOutOfBoundsException: Range [0, 37) out of bounds for length 2
{ if (IS_INTOBJ(obj)) return ((Int)obj & 4) != 0; return (*CONST_ADDR_INT(obj)) & 1;
}
/**************************************************************************** ** **'IS_EVEN_INT'returns1if'obj'isanevenlargeorimmediateinteger *allofjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
*/
EXPORT_INLINE BOOL IS_EVEN_INT(Obj obj)
{ return !IS_ODD_INT(obj);
}
/**************************************************************************** ** **ThefollowingfunctionsconvertInt,UIntorInt8respectivelyinto **aGAPinteger,eitheranimmediate,smallintegerifpossibleor **otherwiseanewGAPbagwithTNUMT_INTPOSorT_INTNEG.
*/
bjObjInt_Int( i;
Obj ObjInt_UInt(UInt i);
ObjObjInt_Int8(Int8 i)java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
ObjInt_UInt8
/**************************************************************************** ** **Thefollowing* *Int8orifrange.itjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 65
*/ Int Int_ObjInt(Obj i);
UInt UInt_ObjInt(Obj i);
Int8 Int8_ObjInt(Obj i);
UInt8 UInt8_ObjInt(Obj i);
/**************************************************************************** ** *FMakeObjInt(<limbs>,<size>).........createanewintegerobject ** **Constructanintegerobjectfromthelimbsatwhich<limbs>points.The **absolutevalueof<size>determinesthenumberoflimbs.If<size>is **zero,then`INTOBJ_INT(0)`isreturned.Otherwise,thesignofthe **returnedintegerobjectisdeterminedbythesignof<size>. ** **NotethatGAPautomaticallyreducesandnormalizedtheintegerobject, *i.willleadingifintegerintojava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75 **smallinteger,itwillbereturnedassuch.
*/
Obj MakeObjInt(const UInt * limbs, int size);
/**************************************************************************** ** *FPrintInt(<op ** **'java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2
*/ void PrintInt(Obj op);
//
Obj IntHexString(Obj str);
// Parse a string containing a decimal integer into a GAP integer // object. Returns 'fail' if the input is not a valid decimal. // This function handles signs. // // If <string> is non-NULL, then <str> is ignored, and <string> // must reference a GAP string object. If <string> is NULL, then // <str> must point to a C string.
Obj*
/**************************************************************************** ** *Fjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2 ** **'LtInt'returns1ifthejava.lang.StringIndexOutOfBoundsException: Range [0, 36) out of bounds for length 2 **integer<opR>and0otherwise.
*/ Int LtInt(Obj opL, Obj opR);
/**************************************************************************** ** *FDiffInt(<opL>,<opR>)...........differenceoftwointegers ** **'DiffInt'returnsthejava.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 0 **and<opR>.
*/
Obj DiffInt(Obj opL, Obj opR);
/**************************************************************************** * *FModInt(<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 ** **'ModInt'returnsthesmallest*F * * * * * * * * * * * * * initialize********** **classoftheinteger<opL>modulotheinteger<opR>.
*/
Obj ModInt(Obj opL, Obj opR);
/**************************************************************************** ** *FPowInt(<opL>,<opR>)............java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 ** **'PowInt'returnsthe<opR>-th(aninteger)poweroftheinteger<opL>.
*/
Obj PowInt(Obj opL, Obj opR);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.