|
From: Keith M. <kei...@us...> - 2014-12-09 20:10:50
|
On 04/12/14 14:30, Keith Marshall wrote:
> On 03/12/14 22:38, Graeme Paterson wrote:
>> Works in Ubuntu, not in mingw.
:
>> #include <stdio.h>
>> #include <complex.h>
>>
>> int main() {
>> double complex A;
>> double complex a;
>> A = 1.1;
>> a = cacos( A ); // fails id abs(A) > 1.0
>
> Indeed, this is where it first appears to go wrong, but it's actually in
> casin(A), (which is called by cacos(A)), that the failure occurs.
I've filed this bug report:
https://sourceforge.net/p/mingw/bugs/2245/
--
Regards,
Keith.
|