Переименование функций возведения в степень в get_power

This commit is contained in:
Andrey Pokidov 2026-02-16 03:13:32 +07:00
parent 1075624d05
commit 039b26305a
8 changed files with 17 additions and 17 deletions

View file

@ -120,7 +120,7 @@ extern inline int bgc_fp64_quaternion_are_close(const BGC_FP64_Quaternion* quate
// =============== Get Exponation =============== //
int bgc_fp32_quaternion_get_exponation(BGC_FP32_Quaternion* power, const BGC_FP32_Quaternion* base, const float exponent)
int bgc_fp32_quaternion_get_power(BGC_FP32_Quaternion* power, const BGC_FP32_Quaternion* base, const float exponent)
{
const float s0s0 = base->s0 * base->s0;
const float x1x1 = base->x1 * base->x1;
@ -161,7 +161,7 @@ int bgc_fp32_quaternion_get_exponation(BGC_FP32_Quaternion* power, const BGC_FP3
return BGC_SUCCESS;
}
int bgc_fp64_quaternion_get_exponation(BGC_FP64_Quaternion* power, const BGC_FP64_Quaternion* base, const double exponent)
int bgc_fp64_quaternion_get_power(BGC_FP64_Quaternion* power, const BGC_FP64_Quaternion* base, const double exponent)
{
const double s0s0 = base->s0 * base->s0;
const double x1x1 = base->x1 * base->x1;