Hi,
yes, I meant ⎕CT of course.
I have fixed this without using ⎕CT, SVN 780.
My point was that for integer arguments ⎕CT makes no
difference, but for real and
complex numbers as soon as you do computations with them they tend
to q
On 13 July 2016 at 13:21, Juergen Sauermann wrote:
> I see. Which leaves the question if "equal" shall be strict or within ⎕IO.
>
> Since we are dealing with real numbers (and therefore often rounding errors)
> within ⎕IO
> makes more sense to me but the standard does not mention ⎕IO for ⍟.
I thin
It's not a tolerant comparison (not that it matters for comparing 0 with
0!). If it was, they would use the standardese "if A is tolerantly-equal-to
B". Also section 12.2.1 has an informal note listing functions which use
comparison-tolerance, and the list does not include Logarithm.
Jay.
On 13 J
On 13 July 2016 at 12:04, Juergen Sauermann wrote:
> my ISO (June 9, 2000) says DOMAIN ERROR.
I'm using the PDF that was linked from GNU APL documentation,
that is, exactly the same Jun 2000 version.
> If A and B are equal, return one.
As Jay just have written, the evaluation sequence in section
Hi Jay,
I see. Which leaves the question if "equal" shall be strict or
within ⎕IO.
Since we are dealing with real numbers (and therefore often
rounding errors) within ⎕IO
makes more sense to me but the standard does not mention ⎕IO
for ⍟.
My ISO ("First edition 2001-02-01") says:
Evaluation Sequence:
If either of A or B are not numbers signal domain-error.
If A and B are equal, return one.
If A is one, signal domain-error.
Set A1 to the natural-logarithm of A.
Set B1 to the natural-logarithm of B.
Return B1 divided-by A
Hi Kacper,
thanks, fixed in SVN 779.
/// Jürgen
On 07/12/2016 11:23 PM, Kacper Gutowski
wrote:
⊂⍤¯1¨0
result: 'SI_PUSHED' at Bif_OPER1_EACH.cc:257
-- Stack
Hi David,
thanks,, fixed in SVN 779.
/// Jürgen
On 07/12/2016 06:55 PM, David B. Lamkins wrote:
clang++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT apl-SymbolTable.o -MD -MP -MF
.deps/apl-SymbolTable.Tpo -c -o apl-SymbolTable.o `test -f 'SymbolTable.cc' ||
echo './'`SymbolTable.cc
SymbolTable
Hi Kacper,
my ISO (June 9, 2000) says DOMAIN ERROR.
More precisely, they say that A⍟B is (⍟A)÷(⍟B) and then that ⍟0 gives DOMAIN ERROR.
/// Jürgen
On 07/12/2016 11:43 PM, Kacper Gutowski
wrote:
According