Добавлено вощведение в степень комплексного числа

This commit is contained in:
Andrey Pokidov 2025-02-25 17:14:21 +07:00
parent 08c1e6d148
commit f547ba69e6
3 changed files with 50 additions and 2 deletions

View file

@ -458,6 +458,12 @@ inline void bgc_vector2_get_complex_product_fp64(const BgcVector2FP64* vector1,
result->x2 = x2;
}
// =============== Complex Power ================ //
void bgc_vector2_get_complex_power_fp32(const BgcVector2FP32* base, const BgcVector2FP32* power, BgcVector2FP32* result);
void bgc_vector2_get_complex_power_fp64(const BgcVector2FP64* base, const BgcVector2FP64* power, BgcVector2FP64* result);
// =================== Angle ==================== //
float bgc_vector2_get_angle_fp32(const BgcVector2FP32* vector1, const BgcVector2FP32* vector2, const BgcAngleUnitEnum unit);