Oh, my error, thanks I was trying to coerce a Nemo AN to its numeric
values and forgot this:
(3) -> jnan(-77051393/2)/6561
(3) {a1: -5871.92}
Type: NMAlgebraicNumber
Time: 0.03 (EV) = 0.03 sec
(4) -> %::EXPR FLOAT
Cannot convert the value from type NMAlgebraicNumber to Expression(Float) .
(4) -> jnan(-77051393/2)/6561
(4) {a1: -5871.92}
Type: NMAlgebraicNumber
Time: 0.01 sec
(5) -> numeric %
I need some further improvements in my settings of NMAlgebraicNumber.
I know that.
Sorry, and thanks (shame on me)
Greg
=========================================================
PS:
(16) -> %^2
(16) {a2: -0.894974 + 0.446118*im}
Type: NMAlgebraicNumber
Time: 0 sec
(17) -> real %
(17) {a1: -0.894974}
Type: NMAlgebraicNumber
Time: 0.01 (EV) = 0.02 sec
(18) -> %::Float
Cannot convert the value from type NMAlgebraicNumber to Float .
(18) -> %::SF
Cannot convert the value from type NMAlgebraicNumber to DoubleFloat .
(18) -> %::AN
77051393
(18) - --------
86093442
Type: AlgebraicNumber
Time: 0.11 (IN) = 0.11 sec
(19) -> sqrt %
+----------+
| 77051393
|- --------
\| 2
(19) -------------
6561
Type: AlgebraicNumber
Time: 0 sec
(20) -> %::NMA
NMAcbField NMAlgebraicNumber NMArbField
(20) -> %::NMA
NMAcbField NMAlgebraicNumber NMArbField
(20) -> %::NMAlgebraicNumber
Cannot convert the value from type AlgebraicNumber to NMAlgebraicNumber .
(20) -> %::NMAcbField
Although NMAcbField is the name of a constructor, a full type must
be specified in the context you
have used it. Issue )show NMAcbField for more information.
(20) -> %::NMF
NMFactored NMField NMFiniteField NMFraction
(20) -> %::NMF
NMFactored NMField NMFiniteField NMFraction
(20) -> %::NMField
Cannot convert the value from type AlgebraicNumber to NMField .
(20) -> numeric %
>> Error detected within library code:
cannot retract nonconstant polynomial
(20) -> %%(19)
+----------+
| 77051393
|- --------
\| 2
(20) -------------
6561
Type: AlgebraicNumber
Time: 0 sec
(21) -> numeric %
>> Error detected within library code:
cannot retract nonconstant polynomial
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
fricas-devel...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/acgUb3WGsnQPkF6I%40fricas.org.