Большое переупорядочивание исходного кода

This commit is contained in:
Andrey Pokidov 2025-02-12 19:39:28 +07:00
parent fffe2be43b
commit 43bf030295
26 changed files with 1225 additions and 1137 deletions

View file

@ -47,12 +47,12 @@ inline int bgc_is_unit_fp64(const double square_value)
}
inline int bgc_is_sqare_value_unit_fp32(const float square_value)
inline int bgc_is_sqare_unit_fp32(const float square_value)
{
return (1.0f - 2.0f * BGC_EPSYLON_FP32 <= square_value) && (square_value <= 1.0f + 2.0f * BGC_EPSYLON_FP32);
}
inline int bgc_is_sqare_value_unit_fp64(const double square_value)
inline int bgc_is_sqare_unit_fp64(const double square_value)
{
return (1.0 - 2.0 * BGC_EPSYLON_FP64 <= square_value) && (square_value <= 1.0 + 2.0 * BGC_EPSYLON_FP64);
}