From c7d9263154f0092a42a8f178ea30ca8071c341ac Mon Sep 17 00:00:00 2001 From: Andrey Pokidov Date: Wed, 11 Feb 2026 23:30:12 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B8=D0=BF=D0=B0=20=D0=B2?= =?UTF-8?q?=D1=8B=D0=B7=D1=8B=D0=B2=D0=B0=D0=B5=D0=BC=D0=BE=D0=B9=20=D1=84?= =?UTF-8?q?=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basic-geometry/vector2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic-geometry/vector2.h b/basic-geometry/vector2.h index 1ded124..7bdc27c 100644 --- a/basic-geometry/vector2.h +++ b/basic-geometry/vector2.h @@ -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) { - if (bgc_fp32_is_zero(divisor) || isnan(divisor)) { + if (bgc_fp64_is_zero(divisor) || isnan(divisor)) { return BGC_FAILURE; }