/usr/share/axiom-20170501/input/bug6357.input is in axiom-test 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | )set break resume
)spool bug6357.output
)set message test on
)set message auto off
)clear all
-- The original author assumed (roughly) that sqrt(1/x)=1/sqrt(x),
-- which is wrong (for example,
-- sqrt(-1/2) = %i/sqrt(2) != 1/(%i*sqrt(2)) = -%i/sqrt(2)
--S 1 of 2
sqrt(-1/2)
--R
--R
--R +---+
--R \|- 1
--R (1) ------
--R +-+
--R \|2
--R Type: AlgebraicNumber
--E 1
--S 2 of 2
sqrt(-1/abs(x))-1/sqrt(-abs(x))
--R
--R
--R +--------+
--R +--------+ | 1
--R \|- abs(x) |- ------ - 1
--R \| abs(x)
--R (2) --------------------------
--R +--------+
--R \|- abs(x)
--R Type: Expression(Integer)
--E 2
)spool
)lisp (bye)
|