Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-08 Thread Thomas Bickel
On 07.09.2016 17:21, lhmouse wrote: (I don't write AT&T assembly so I am unable to make a patch. Nevertheless I hope someone who writes AT&T assembly could fix it.) I don't have time to write a patch but I can donate some code that AFAIK does what you need for the sin functions. >gcc -m32

Re: [Mingw-w64-public] setjmp/longjmp crashes, second setjmp argument

2015-10-04 Thread Thomas Bickel
Sorry, but I know very little about the inner details of exception handling. I can only suggest you try to replace setjmp(buf) with _setjmp(buf, NULL). On 02.10.2015 00:28, Kevin Ushey wrote: > Hi Thomas, > > Is it possible that the value of the second argument depends on whether SJLJ > or SEH

Re: [Mingw-w64-public] setjmp/longjmp crashes, second setjmp argument

2015-09-29 Thread Thomas Bickel
> Did `setjmp` macro take two parameters? > > -- > lh_mouse > 2015-09-29 This is about the undocumented second argument to setjump. see: http://sourceforge.net/p/mingw-w64/mailman/message/34450916/ http://sourceforge.net/p/mingw-w64/mingw-w64/ci/m

[Mingw-w64-public] setjmp/longjmp crashes, second setjmp argument

2015-09-28 Thread Thomas Bickel
Hi everyone, inspired by a posting here and because longjmp always crashed for me I investigated a bit and it seems the following is true: If the second argument to setjmp is NULL longjmp will simply restore the register state and flags and resume program execution. In fact this fixes all cra