X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=src%2Finteger%2Fbitwise%2Fcl_I_byte.h;h=6ef57d21a7ffd2bde9a8e6c8d41e2b17fd8fe57d;hb=c84c6db5d56829d69083c819688a973867694a2a;hp=2505d8f19f0bf178ab68aeb103db4266e6ff3a5b;hpb=976a13157ca8d274a5bcbdac662cac538091e92c;p=cln.git diff --git a/src/integer/bitwise/cl_I_byte.h b/src/integer/bitwise/cl_I_byte.h index 2505d8f..6ef57d2 100644 --- a/src/integer/bitwise/cl_I_byte.h +++ b/src/integer/bitwise/cl_I_byte.h @@ -11,22 +11,22 @@ namespace cln { // cl_fullbyte(p,q) liefert zu p,q die Zahl 2^q-2^p als Integer, // wobei p und q uintL sind. Bei p<=q ist das Ergebnis also // ein Integer >=0, bei dem genau die Bits p,...,q-1 gesetzt sind. -extern const cl_I cl_fullbyte (uintL p, uintL q); +extern const cl_I cl_fullbyte (uintC p, uintC q); // Extrahiere die Bits p,...,q-1 der Zahl x, // wobei 0 <= p <= q <= l = (integer-length x). // Ergebnis (wie bei LDB) ein Integer >=0. -extern const cl_I ldb_extract (const cl_I& x, uintL p, uintL q); +extern const cl_I ldb_extract (const cl_I& x, uintC p, uintC q); // Teste, ob eines der Bits p,...,q-1 der Zahl x /=0 ist, // wobei 0 <= p <= q <= l = (integer-length x). // Ergebnis (wie bei LDB-TEST) cl_false wenn nein, cl_true wenn ja. -extern cl_boolean ldb_extract_test (const cl_I& x, uintL p, uintL q); +extern cl_boolean ldb_extract_test (const cl_I& x, uintC p, uintC q); // Extrahiere die Bits p,...,q-1 der Zahl x, // wobei 0 <= p <= q <= l = (integer-length x). // Ergebnis (wie bei MASK-FIELD) ein Integer >=0. -extern const cl_I mkf_extract (const cl_I& x, uintL p, uintL q); +extern const cl_I mkf_extract (const cl_I& x, uintC p, uintC q); } // namespace cln