bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #42256] gsl_isnan in sys/test.c


From: Patrick Alken
Subject: [Bug-gsl] [bug #42256] gsl_isnan in sys/test.c
Date: Thu, 01 May 2014 15:10:45 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

URL:
  <http://savannah.gnu.org/bugs/?42256>

                 Summary: gsl_isnan in sys/test.c
                 Project: GNU Scientific Library
            Submitted by: psa
            Submitted on: Thu 01 May 2014 03:10:44 PM GMT
                Category: Runtime error
                Severity: 3 - Normal
        Operating System: 
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi,

I have this test failure in gsl-1.16 - using a mingw64 port of gcc-4.8.2 
(x64):

###########################
==================================
   gsl 1.16: sys/test-suite.log
==================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========

FAIL: gsl_isnan(nan) (-1 observed vs 1 expected) [310]
###########################

This failure occurs because math.h's isnan() has returned "-1" instead of 
the expected "1".
However, I believe (perhaps mistakenly) that this gsl test should be testing 
for "true" not "1".

Interestingly, isnan() on the other mingw64 compilers I have at my disposal 
*does* return "1" for a nan.
(And these other compilers include a 32-bit version of gcc-4.8.2 from the 
same vendor.)

Cheers,
Rob




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42256>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]