Dyalog APL gives same answers, too:

   a← 3.2e7 1 ¯1  8.0e7
    b← 4.0e7 1 ¯1 ¯1.6e7
    a+.×b
2
    a×b
1.28E15 1 1 ¯1.28E15
      +/a×b
2

Bob

On 2017-02-08 01:19 PM, Brian Schott wrote:
Skip,

I tried Gustafson's initial example in j and got the correct answer.
To what do you attribute that?

    ]a=.3.2e7 1 _1 8.0e7
32000000 1 _1 80000000
    b=. 4.0e7 1 _1 _1.6e7
    a +/ . * b
2
    JVERSION
Engine: j804/j64/darwin
Release: commercial/2015-12-21 18:06:25
Library: 8.04.15
Platform: Darwin 64
Installer: J804 install
InstallPath: /users/brian/j64-804
Contact: www.jsoftware.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

--
Robert Bernecky
Snake Island Research Inc
18 Fifth Street
Ward's Island
Toronto, Ontario M5J 2B9

[email protected]
tel: +1 416 203 0854

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to