Re: [Chicken-hackers] [PATCH] Fix isnormal() on Mingw, restore tests (fixing #1062 properly)

2014-02-27 Thread Peter Bex
On Fri, Feb 28, 2014 at 12:25:07AM +, Mario Domenech Goulart wrote:
 Unfortunately it doesn't work for me.  I get
 
   Error: assertion failed: (equal? 1.0 (numerator 0.0))
 
 (library tests) for both mingw and mingw-msys (Windows XP 32bit).

Thanks for testing.  This is very strange.  Either one of us messed up
or it's a Windows XP-specific issue.  Can you try under Windows Vista,
Windows 7 or Windows 8?  Official support for XP ends this April.
So I think we shouldn't support it either, and it's not worth testing
under.

You can download a free as in beer Windows VM for testing purposes in
various VM formats from http://www.modern.ie

Cheers,
Peter
-- 
http://www.more-magic.net

___
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers


Re: [Chicken-hackers] [PATCH] Fix isnormal() on Mingw, restore tests (fixing #1062 properly)

2014-02-24 Thread Kon Lovett

On Feb 23, 2014, at 4:48 AM, Peter Bex peter@xs4all.nl wrote:

 Hi all,
 
 While investigating how to make isnormal() work on Solaris (but before
 figuring out we need to define __C99FEATURES__), I came across an
 alternate solution involving __builting_isnormal, which apparently
 is a GCC builtin that performs the same function as the isnormal()
 macro defined in math.h.
 
 This builtin seems to work properly on Mingw, so I think it's safe
 to undefine the broken isnormal and replace it with the builtin one

Passes check w/ MacOS 10.9

 on Windows.
 
 Cheers,
 Peter
 -- 
 http://www.more-magic.net
 0001-Fix-isnormal-problem-on-MingW-by-using-gcc-builtin-i.patch___
 Chicken-hackers mailing list
 Chicken-hackers@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/chicken-hackers


___
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-hackers