реорганизация функций проекта, уменьшение дублирующегося кода
This commit is contained in:
parent
6c0ae92ed4
commit
07623b2aa6
10 changed files with 84 additions and 67 deletions
|
|
@ -1,4 +1,14 @@
|
|||
#include "utilities.h"
|
||||
|
||||
|
||||
extern inline int bgc_is_zero_fp32(const float square_value);
|
||||
extern inline int bgc_is_zero_fp64(const double square_value);
|
||||
|
||||
extern inline int bgc_is_unit_fp32(const float square_value);
|
||||
extern inline int bgc_is_unit_fp64(const double square_value);
|
||||
|
||||
extern inline int bgc_is_sqare_value_unit_fp32(const float square_value);
|
||||
extern inline int bgc_is_sqare_value_unit_fp64(const double square_value);
|
||||
|
||||
extern inline int bgc_are_equal_fp32(const float value1, const float value2);
|
||||
extern inline int bgc_are_equal_fp64(const double value1, const double value2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue