[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-apl] Erroneous multiplication of complex and reals
From: |
Kacper Gutowski |
Subject: |
[Bug-apl] Erroneous multiplication of complex and reals |
Date: |
Sat, 14 Dec 2013 13:30:07 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
Multiplication of complex cell with a real cell actually yields their
*sum* instead of a product:
2 × 0J1 ⍝ correct
0J2
0J1 × 2 ⍝ obviously wrong
2J1
To my surprise it seems to be explicitly written to behave this way
in src/RealCell.cc:78. Patch attached.
-k
gnuapl-multiplycomplex.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-apl] Erroneous multiplication of complex and reals,
Kacper Gutowski <=