Hi Brian, thanks, fixed in SVN 644. Please note that things like that can still happen - powers of negative numbers can give complex numbers and rounding up or down of complex numbers is somewhat different from rounding up or down of real numbers. In your example T←¯1⋆2 gave a complex number close to 1 which was then multiplied and rounded as a complex number. For ⌊ and ⌈ small rounding errors can give differences of 1, ¯1, 0J1, or 0J¯1 in the "expected" result. /// Jürgen On 07/07/2015 07:13 PM, McGuinness,
Brian wrote:
The Toronto APL Toolkit function RNDE |
- [Bug-apl] Numerical error McGuinness, Brian
- Re: [Bug-apl] Numerical error Juergen Sauermann