Re: [Jprogramming] Strange behavior of 0x1

2017-12-17 Thread Henry Rich
Yes, we have tracked it down.  the x in 0x1 was being interpreted (in the Linux version of strtod) as a valid numeric character. The problem afflicts ONLY numeric constants that begin with 0x, and is therefore rarely encountered. Henry Rich On 12/17/2017 5:15 PM, Don Kelly wrote: The error d

Re: [Jprogramming] Strange behavior of 0x1

2017-12-17 Thread Don Kelly
The error doesn't appear in J806 Windows 10/64 bit /amd a10-7800 Don On 2017-12-16 7:49 PM, bill lam wrote: On j android, it looks like that 0xn is evaluated as nxn 0x1 2.71828 1x1 2.71828 0x2 14.7781 2x2 14.7781 0x3 60.2566 3x3 60.2566 On Dec 17, 2017 12:33 AM, "Henry

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread robert therriault
And on IOS as well. 0x1 2.71828 9!:14 '' j701/2011-01-10/11:25 build: Aug 8 2017 09:57:13 0x1 2.71828 9!:14 '' j701/2011-01-10/11:25 build: Jun 10 2012 21:52:05 Cheers, bob > On Dec 16, 2017, at 4:15 PM, neit...@gaertner.de wrote: > > 0x1 > 2.71828 > 9!:14'' > j806/j32/raspberry/b

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread bill lam
On j android, it looks like that 0xn is evaluated as nxn 0x1 2.71828 1x1 2.71828 0x2 14.7781 2x2 14.7781 0x3 60.2566 3x3 60.2566 On Dec 17, 2017 12:33 AM, "Henry Rich" wrote: > When I try it (on a couple of different J versions) I get >0x1 > 0 >0x0 > 0 > etc. > > If you

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread neitzel
0x1 2.71828 9!:14'' j806/j32/raspberry/beta/commercial/www.jsoftware.com/2017-09-18T01:24:43 -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread Erling Hellenäs
I was not aware of these results being strange. They seemed correct to me. Just wanted to help Dmitry Khalansky as soon as possible, that's all. /Erling On 2017-12-16 17:36, Eric Iverson wrote: Erling, Jx is NOT J! Please do not report 'strange results' from Jx to the J programming forum!

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread robert therriault
Seems to affect avx version of Mac as well. At least I believe that is the version that I am running, although I don't see an indication in the system info from 9!:14 0x1 2.71828 9!:14 '' j806/j64/darwin/release/commercial/www.jsoftware.com/2017-11-06T10:20:33 Cheers, bob > On Dec 16,

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread Eric Iverson
I confirm that on the 806 release linux that: 0x1 2.7128 On Sat, Dec 16, 2017 at 12:37 PM, Henry Rich wrote: > 0x1 > > 0 > >9!:14'' > > j806/j64/windows/release/commercial/www.jsoftware.com/2017-11-06T10:03:54 > > > Something Linux-related? > > > Henry Rich > > > > > On 12/16/2017 12:31 P

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread Henry Rich
0x1 0    9!:14'' j806/j64/windows/release/commercial/www.jsoftware.com/2017-11-06T10:03:54 Something Linux-related? Henry Rich On 12/16/2017 12:31 PM, J. Patrick Harrington wrote: 0x1 2.71828    9!:14'' j806/j64/linux/release/commercial/www.jsoftware.com/2017-11-06T09:54:01 and same re

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread J. Patrick Harrington
0x1 2.71828 9!:14'' j806/j64/linux/release/commercial/www.jsoftware.com/2017-11-06T09:54:01 and same result on the nonavx version of 806 on my mac. On Sat, 16 Dec 2017, Henry Rich wrote: When I try it (on a couple of different J versions) I get    0x1 0    0x0 0 etc. If your error persis

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread Eric Iverson
Erling, Jx is NOT J! Please do not report 'strange results' from Jx to the J programming forum! This can cause all kinds of unnecessary confusion. You can report strange Jx results to the chat forum. On Sat, Dec 16, 2017 at 7:15 AM, Erling Hellenäs wrote: > Hi ! > > I get > >0x1 > 0 >

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread Henry Rich
When I try it (on a couple of different J versions) I get    0x1 0    0x0 0 etc. If your error persists please run    9!:14'' to indicate what version you are running, and report the error again. Welcome to J! Henry Rich On 12/16/2017 6:19 AM, roua...@gmail.com wrote: Hi. Could someone plea

Re: [Jprogramming] Strange behavior of 0x1

2017-12-16 Thread Erling Hellenäs
Hi ! I get    0x1 0    eu=:2.71828    0*eu^0 0  This is J8.06 with Jx patches. Cheers, Erling Hellenäs On 2017-12-16 12:19, roua...@gmail.com wrote: Hi. Could someone please shed some light on the following behavior: 1p1 3.14159 0p1 0 0p0 0 1x1 2.71828 0x1 2.71828 0

[Jprogramming] Strange behavior of 0x1

2017-12-16 Thread roua...@gmail.com
Hi. Could someone please shed some light on the following behavior: 1p1 3.14159 0p1 0 0p0 0 1x1 2.71828 0x1 2.71828 0x0 0 I don't understand why 0x1 isn't the same as 0 * ^1 even though other constants seem to obey this form. I haven't found any explanation in http://www.jsoftw