math: fix the type of the return value
authorSzabolcs Nagy <nsz@port70.net>
Tue, 13 Nov 2012 09:16:00 +0000 (10:16 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Tue, 13 Nov 2012 09:16:00 +0000 (10:16 +0100)
src/math/ldexpf.c
src/math/nexttoward.c
src/math/nexttowardf.c

index 9fb870f..cc0e23f 100644 (file)
@@ -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;
index f03a094..d56cfea 100644 (file)
@@ -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;
index 9e4b180..0ba0c43 100644 (file)
@@ -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;