mirror of https://github.com/Nonannet/copapy.git
test.c updated to catch large number sqrt issues early before running pytests
This commit is contained in:
parent
f34795cac6
commit
9facc16e1a
|
|
@ -4,7 +4,7 @@
|
||||||
int main() {
|
int main() {
|
||||||
// Test aux functions
|
// Test aux functions
|
||||||
float a = 16.0f;
|
float a = 16.0f;
|
||||||
float sqrt_a = aux_sqrt(a);
|
float sqrt_a = aux_sqrt(100000.0f);
|
||||||
float pow_a = fast_pow_float(a, 0.5f);
|
float pow_a = fast_pow_float(a, 0.5f);
|
||||||
float div_result = (float)floor_div(-7.0f, 3.0f);
|
float div_result = (float)floor_div(-7.0f, 3.0f);
|
||||||
float sin_30 = aux_sin(30.0f);
|
float sin_30 = aux_sin(30.0f);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue