[utils] adding non-branching sign functions
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
|
||||
bool float_equals(float a, float b);
|
||||
bool float_equals_epsilon(float a, float b, float epsilon);
|
||||
float fsign(float x);
|
||||
|
||||
bool double_equals(double a, double b);
|
||||
bool double_equals_epsilon(double a, double b, double epsilon);
|
||||
double sign(double x);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user