Searched refs:check_close1 (Results 1 – 2 of 2) sorted by relevance
/hal_rpi_pico-latest/test/pico_float_test/ |
D | pico_double_test.c | 327 #define check_close1(func,p0) ({ typeof(p0) r = func(p0), r2 = __CONCAT(__real_, func)(p0); if (isn… macro 332 #define check_close1(func,p0) func(p0) macro 359 printf("SQRT %10.18g\n", check_close1(sqrt, x)); in main() 360 printf("COS %10.18g\n", check_close1(cos, x)); in main() 361 printf("SIN %10.18g\n", check_close1(sin, x)); in main() 362 printf("TAN %10.18g\n", check_close1(tan, x)); in main() 365 printf("EXP %10.18g\n", check_close1(exp, x)); in main() 366 printf("LN %10.18g\n", check_close1(log, x)); in main() 368 printf("TRUNC %10.18f\n", check_close1(trunc, x)); in main() 384 printf("SQRT %10.18g\n", check_close1(sqrt, x)); in main() [all …]
|
D | pico_float_test.c | 330 #define check_close1(func,p0) ({ typeof(p0) r = func(p0), r2 = __CONCAT(__real_, func)(p0); if (isn… macro 335 #define check_close1(func,p0) func(p0) macro 400 printf("FSQRT %10.18f\n", check_close1(sqrtf, x)); in main() 402 printf("FCOS %10.18f\n", check_close1(cosf, x)); in main() 403 printf("FSIN %10.18f\n", check_close1(sinf, x)); in main() 407 printf("FTAN %10.18f\n", check_close1(tanf, x)); in main() 410 printf("FEXP %10.18f\n", check_close1(expf, x)); in main() 411 printf("FLN %10.18f\n", check_close1(logf, x)); in main() 415 printf("TRUNCF %10.18f\n", check_close1(truncf, x)); in main()
|