This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix copy'n'pastos.


On 03/05/2013 08:22 PM, Thomas Schwinge wrote:

* math/test-misc.c: Fix copy'n'pastos.

you should name the function you change - and I would call it "Correct wrong error messages"


Otherwise fine,
thanks,
Andreas

---
  math/test-misc.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git math/test-misc.c math/test-misc.c
index d64e8e2..a4e70d6 100644
--- math/test-misc.c
+++ math/test-misc.c
@@ -1116,7 +1116,7 @@ main (void)
        }
      else if (fetestexcept (FE_UNDERFLOW))
        {
-	puts ("scalbl(NaN, 0) raises underflow exception");
+	puts ("scalbl (LDBL_MIN, 2147483647) raises underflow exception");
  	result = 1;
        }

@@ -1134,7 +1134,7 @@ main (void)
        }
      else if (fetestexcept (FE_OVERFLOW))
        {
-	puts ("scalbl(NaN, 0) raises overflow exception");
+	puts ("scalbl (LDBL_MAX, -2147483647) raises overflow exception");
  	result = 1;
        }
    }



--
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]