Исправление типа вызываемой функции
This commit is contained in:
parent
642d39f2a9
commit
c7d9263154
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ inline int bgc_fp32_vector2_divide(BGC_FP32_Vector2* quotient, const BGC_FP32_Ve
|
||||||
|
|
||||||
inline int bgc_fp64_vector2_divide(BGC_FP64_Vector2* quotient, const BGC_FP64_Vector2* dividend, const double divisor)
|
inline int bgc_fp64_vector2_divide(BGC_FP64_Vector2* quotient, const BGC_FP64_Vector2* dividend, const double divisor)
|
||||||
{
|
{
|
||||||
if (bgc_fp32_is_zero(divisor) || isnan(divisor)) {
|
if (bgc_fp64_is_zero(divisor) || isnan(divisor)) {
|
||||||
return BGC_FAILURE;
|
return BGC_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue