diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2025-10-14 12:57:38 +0000 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2025-10-14 12:57:38 +0000 |
| commit | 275e2ca033a880fe959e7eb4e83268a70318ba57 (patch) | |
| tree | 312cad2e9d0dbeb608fdd300061b854e4cfa891b /bits.h | |
| download | datalab2026-275e2ca033a880fe959e7eb4e83268a70318ba57.tar.gz datalab2026-275e2ca033a880fe959e7eb4e83268a70318ba57.tar.xz | |
Initial commit
Diffstat (limited to 'bits.h')
| -rw-r--r-- | bits.h | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +int bitAnd(int, int); +int test_bitAnd(int, int); +int bitXor(int, int); // 保留 +int test_bitXor(int, int); // 保留 +int logtwo(int); // 保留 +int test_logtwo(int); // 保留 +int samesign(int, int); +int test_samesign(int, int); +int byteSwap(int, int, int); // 保留 +int test_byteSwap(int, int, int); // 保留 +int logicalShift(int, int); // 保留 +int test_logicalShift(int, int); // 保留 +unsigned float_i2f(int); // 保留 +unsigned test_float_i2f(int); // 保留 +int leftBitCount(int); // 保留 +int test_leftBitCount(int); // 保留 +int float64_f2i(unsigned, unsigned); +int test_float64_f2i(unsigned, unsigned); +unsigned reverse(unsigned); +unsigned test_reverse(unsigned); +unsigned floatScale2(unsigned); +unsigned test_floatScale2(unsigned); +unsigned floatPower2(int); +unsigned test_floatPower2(int); |
