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> |
||
|---|---|---|
| .. | ||
| tests | ||
| Kconfig | ||
| Makefile | ||
| cordic.c | ||
| div64.c | ||
| gcd.c | ||
| int_log.c | ||
| int_pow.c | ||
| int_sqrt.c | ||
| lcm.c | ||
| prime_numbers.c | ||
| rational-test.c | ||
| rational.c | ||
| reciprocal_div.c | ||
| test_div64.c | ||