Commit 1c4bc9ca by Tobias Burnus Committed by Tobias Burnus

re PR libfortran/47830 (errors in intrinsics/c99_functions.c)

2011-02-22  Tobias Burnus  <burnus@net-b.de>
            Kai-Uwe Eckhardt  <kuehro@gmx.de>

        PR libfortran/47830
        * intrinsics/c99_functions.c (roundl): Make C valid for
        HAVE_NEXTAFTERL.


Co-Authored-By: Kai-Uwe Eckhardt <kuehro@gmx.de>

From-SVN: r170396
parent e84589e1
2011-02-22 Tobias Burnus <burnus@net-b.de>
Kai-Uwe Eckhardt <kuehro@gmx.de>
PR libfortran/47830
* intrinsics/c99_functions.c (roundl): Make C valid for
HAVE_NEXTAFTERL.
2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org> 2011-02-19 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/47567 PR libgfortran/47567
......
...@@ -600,7 +600,7 @@ roundl (long double x) ...@@ -600,7 +600,7 @@ roundl (long double x)
if (x > DBL_MAX || x < -DBL_MAX) if (x > DBL_MAX || x < -DBL_MAX)
{ {
#ifdef HAVE_NEXTAFTERL #ifdef HAVE_NEXTAFTERL
static long double prechalf = nexafterl (0.5L, LDBL_MAX); long double prechalf = nextafterl (0.5L, LDBL_MAX);
#else #else
static long double prechalf = 0.5L; static long double prechalf = 0.5L;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment