From 3feaa322fdec8f8a45ec19a260103f11a12891e3 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Tue, 13 Nov 2012 10:16:00 +0100 Subject: [PATCH] math: fix the type of the return value --- src/math/ldexpf.c | 2 +- src/math/nexttoward.c | 2 +- src/math/nexttowardf.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.20.1