Curses. Thanks for checking.
Henry
On 8/7/2018 12:11 PM, Bill Heagy wrote:
Doesn't help, even after changing FE_ALL_EXCEPTS to FE_ALL_EXCEPT (no
"S").
On 2018-08-07 11:34 AM, Henry Rich wrote:
I pushed something else for you to try. clang reportedly supports
feclearexcept from the C standard. Maybe it supports it better than
_clearfp. I have pushed a version that uses feclearexcept if the
symbol __STDC_IEC_559__ is defined. I read rumors than clang sets
this symbol, but I can't check. The code is at j.h:529. If the
symbol is not defined, replace the test with #if 1 to force clang to
use feclearexcept , and see if it makes things better.
Henry
On 8/6/2018 11:01 PM, Bill Heagy wrote:
SVN 861 for the gcc/clang tests and the 2-parts test
On 2018-08-06 10:59 PM, Henry Rich wrote:
Did you check out the latest push to see if that makes any difference?
Henry Rich
On 8/6/2018 10:50 PM, Bill Heagy wrote:
clang with -O0 fixes it too.
On 2018-08-06 10:44 PM, Bill Heagy wrote:
Building with gcc works ok. I'll try clang/-O0
On 2018-08-06 10:01 PM, bill lam wrote:
Just a guess, recently we switched from gcc to clang. clang is
too smart in
optimization that it short circuit some code that deals with
NaN, I've put
some inline asm to teach clang register flags need checking.
This works in
the past.
Can you try build and test with -O0 or with gcc?
On Tue, Aug 7, 2018, 9:48 AM Henry Rich <[email protected]>
wrote:
This baffles me. I wonder if there is some compiler
interaction with
_clearfp(). In case so, I have pushed out another change that
puts a
couple of memory fetches between the clearfp()s. Would you
please build
that & report back? If it fails on the same line, please try
the two
parts individually & see if they both fail.
Henry Rich
On 8/6/2018 6:13 PM, Bill Heagy wrote:
32-bit again?
......
1
'domain error' -: +/@:*"1~ etx u: 'abc'
1
NB. Test for NaN
0 _ 1 (+/@:*"1 -: +/@:*"_"1) _ 0 2 NB. removable NaN
|NaN error
| 0 _ 1 (+/@:*"1-:+/@:*"_"1)_ 0 2
|[-189] /home/wheagy/git/jsource/test/g420fg.ijs
JVERSION
Engine: j806/j32/linux
Beta: GPL3/2018-08-06T17:48:48
Library: 8.05.14
Platform: Linux 32
Installer: unknown
InstallPath: /home/wheagy/tmp/jbld/j32
Contact: [email protected]
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
---
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm