mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
7fcc9b5321
Adds test suite for integer based power function which performs integer exponentiation. The test suite is designed to verify that the implementation of int_pow correctly computes the power of a given base raised to a given exponent. The tests check various scenarios and edge cases to ensure the accuracy and reliability of the exponentiation function. Updated commit with test information at commit time: Shuah Khan Signed-off-by: Luis Felipe Hernandez <luis.hernandez093@gmail.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
11 lines
385 B
Makefile
11 lines
385 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-y += div64.o gcd.o lcm.o int_log.o int_pow.o int_sqrt.o reciprocal_div.o
|
|
|
|
obj-$(CONFIG_CORDIC) += cordic.o
|
|
obj-$(CONFIG_PRIME_NUMBERS) += prime_numbers.o
|
|
obj-$(CONFIG_RATIONAL) += rational.o
|
|
|
|
obj-$(CONFIG_INT_POW_TEST) += tests/int_pow_kunit.o
|
|
obj-$(CONFIG_TEST_DIV64) += test_div64.o
|
|
obj-$(CONFIG_RATIONAL_KUNIT_TEST) += rational-test.o
|