diff options
Diffstat (limited to 'tests/subr_d.c')
-rw-r--r-- | tests/subr_d.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/subr_d.c b/tests/subr_d.c index ef2c431..ef8e659 100644 --- a/tests/subr_d.c +++ b/tests/subr_d.c @@ -17,11 +17,13 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 0, 2, EJIT_USE64(double), do_jit); - assert(erff2(f, EJIT_ARG(42., double), EJIT_ARG(69., double) - ) == -27.); + assert(erfd2(f, + EJIT_ARG(42., double), + EJIT_ARG(69., double)) == -27.); - assert(erff2(f, EJIT_ARG(42.5, double), EJIT_ARG(69., double) - ) == -26.5); + assert(erfd2(f, + EJIT_ARG(42.5, double), + EJIT_ARG(69., double)) == -26.5); ejit_destroy_func(f); } |