fpPS4/rtl/bittype.pas
2022-05-31 10:20:10 +03:00

50 lines
728 B
ObjectPascal

unit bittype;
{$mode objfpc}{$H+}
interface
type
bit1=0..1;
bit2=0..3;
bit3=0..7;
bit4=0..15;
bit5=0..31;
bit6=0..63;
bit7=0..127;
bit8=Byte;
bit9=0..511;
bit10=0..1023;
bit11=0..2047;
bit12=0..4095;
bit13=0..8191;
bit14=0..16383;
bit15=0..32767;
bit16=Word;
bit17=0..131071;
bit18=0..262143;
bit19=0..524287;
bit20=0..1048575;
bit21=0..2097151;
bit22=0..4194303;
bit23=0..8388607;
bit24=0..16777215;
bit25=0..33554431;
bit26=0..67108863;
bit27=0..134217727;
bit28=0..268435455;
bit29=0..536870911;
bit30=0..1073741823;
bit31=0..2147483647;
bit32=DWORD;
bit38=0..274877906943;
bit43=0..8796093022207;
bit44=0..17592186044415;
bit48=0..281474976710655;
bit64=QWORD;
implementation
end.