From: Szabolcs Nagy Date: Tue, 13 Nov 2012 09:16:00 +0000 (+0100) Subject: math: fix the type of the return value X-Git-Url: http://nsz.repo.hu/git/?p=libc-test;a=commitdiff_plain;h=3feaa322fdec8f8a45ec19a260103f11a12891e3 math: fix the type of the return value --- diff --git a/src/math/ldexpf.c b/src/math/ldexpf.c index 9fb870f..cc0e23f 100644 --- a/src/math/ldexpf.c +++ b/src/math/ldexpf.c @@ -11,7 +11,7 @@ static struct fi_f t[] = { int main(void) { #pragma STDC FENV_ACCESS ON - double y; + float y; float d; int e, i, err = 0; struct fi_f *p; diff --git a/src/math/nexttoward.c b/src/math/nexttoward.c index f03a094..d56cfea 100644 --- a/src/math/nexttoward.c +++ b/src/math/nexttoward.c @@ -18,7 +18,7 @@ static struct ll_l t[] = { int main(void) { #pragma STDC FENV_ACCESS ON - long double y; + double y; float d; int e, i, err = 0; struct ll_l *p; diff --git a/src/math/nexttowardf.c b/src/math/nexttowardf.c index 9e4b180..0ba0c43 100644 --- a/src/math/nexttowardf.c +++ b/src/math/nexttowardf.c @@ -18,7 +18,7 @@ static struct ll_l t[] = { int main(void) { #pragma STDC FENV_ACCESS ON - long double y; + float y; float d; int e, i, err = 0; struct ll_l *p;