chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] Fix isnormal() on Mingw, restore tests (fi


From: Mario Domenech Goulart
Subject: Re: [Chicken-hackers] [PATCH] Fix isnormal() on Mingw, restore tests (fixing #1062 properly)
Date: Fri, 28 Feb 2014 00:25:07 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Peter,

On Sun, 23 Feb 2014 13:48:45 +0100 Peter Bex <address@hidden> wrote:

> 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
> on Windows.

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).

Best wishes.
Mario
-- 
http://parenteses.org/mario



reply via email to

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