|
@@ -261,8 +261,16 @@ implementation
|
|
|
s8inttype:=corddef.create(s8bit,int64(-128),127,true);
|
|
|
u16inttype:=corddef.create(u16bit,0,65535,true);
|
|
|
s16inttype:=corddef.create(s16bit,int64(-32768),32767,true);
|
|
|
+ s24inttype:=corddef.create(customint,-(int64(1) shl 23),1 shl 23 - 1,true);
|
|
|
+ u24inttype:=corddef.create(customint,0,1 shl 24 - 1,true);
|
|
|
u32inttype:=corddef.create(u32bit,0,high(longword),true);
|
|
|
s32inttype:=corddef.create(s32bit,int64(low(longint)),int64(high(longint)),true);
|
|
|
+ s40inttype:=corddef.create(customint,-(int64(1) shl 39),int64(1) shl 39 - 1,true);
|
|
|
+ u40inttype:=corddef.create(customint,0,int64(1) shl 40 - 1,true);
|
|
|
+ s48inttype:=corddef.create(customint,-(int64(1) shl 47),int64(1) shl 47 - 1,true);
|
|
|
+ u48inttype:=corddef.create(customint,0,int64(1) shl 48 - 1,true);
|
|
|
+ s56inttype:=corddef.create(customint,-(int64(1) shl 55),int64(1) shl 55 - 1,true);
|
|
|
+ u56inttype:=corddef.create(customint,0,int64(1) shl 56 - 1,true);
|
|
|
u64inttype:=corddef.create(u64bit,low(qword),high(qword),true);
|
|
|
s64inttype:=corddef.create(s64bit,low(int64),high(int64),true);
|
|
|
{ upper/lower bound not yet properly set for 128 bit types, as we don't
|
|
@@ -499,8 +507,16 @@ implementation
|
|
|
addtype('$shortint',s8inttype);
|
|
|
addtype('$word',u16inttype);
|
|
|
addtype('$smallint',s16inttype);
|
|
|
+ addtype('$sint24',s24inttype);
|
|
|
+ addtype('$uint24',u24inttype);
|
|
|
addtype('$ulong',u32inttype);
|
|
|
addtype('$longint',s32inttype);
|
|
|
+ addtype('$sint40',s40inttype);
|
|
|
+ addtype('$uint40',u40inttype);
|
|
|
+ addtype('$sint48',s48inttype);
|
|
|
+ addtype('$uint48',u48inttype);
|
|
|
+ addtype('$sint56',s56inttype);
|
|
|
+ addtype('$uint56',u56inttype);
|
|
|
addtype('$qword',u64inttype);
|
|
|
addtype('$int64',s64inttype);
|
|
|
addtype('$uint128',u128inttype);
|
|
@@ -632,8 +648,16 @@ implementation
|
|
|
loadtype('shortint',s8inttype);
|
|
|
loadtype('word',u16inttype);
|
|
|
loadtype('smallint',s16inttype);
|
|
|
+ loadtype('uint24',u24inttype);
|
|
|
+ loadtype('sint24',s24inttype);
|
|
|
loadtype('ulong',u32inttype);
|
|
|
loadtype('longint',s32inttype);
|
|
|
+ loadtype('uint40',u40inttype);
|
|
|
+ loadtype('sint40',s40inttype);
|
|
|
+ loadtype('uint48',u48inttype);
|
|
|
+ loadtype('sint48',s48inttype);
|
|
|
+ loadtype('uint56',u56inttype);
|
|
|
+ loadtype('sint56',s56inttype);
|
|
|
loadtype('qword',u64inttype);
|
|
|
loadtype('int64',s64inttype);
|
|
|
loadtype('uint128',u128inttype);
|