axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Axiom and Ubuntu18.04


From: Fabio Stumbo
Subject: Re: [Axiom-developer] Axiom and Ubuntu18.04
Date: Sun, 12 Aug 2018 14:44:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1


Tim, many thanks for your attention.

Sadly, I have issues also with these binaries using functions which worked (and still work) on older versions of axiom. As an example, consider this simple function which converts an integer in choosen given basis:

toBase: (NNI,PI)-> List NNI
toBase(n,b) ==
  q := n
  l := [] :: List NNI
  while q>0 repeat
   r := divide(q,b).remainder
   l := append([r],l)
   q := divide(q,b).quotient
  l


If I save it in a file (say, r.input) and run it in axiom, I get the following

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[dom 12 ago 14:40:04 ~]$ axiom

                       AXIOM Computer Algebra System
                          Version: Axiom (May 2017)
               Timestamp: Wednesday May 17, 2017 at 19:17:38
-----------------------------------------------------------------------------
   Issue )copyright to view copyright notices.
   Issue )summary for a summary of useful system commands.
   Issue )quit to leave AXIOM and return to shell.
   Visit http://axiom-developer.org for more information
-----------------------------------------------------------------------------

   Re-reading interp.daase
   Re-reading operation.daase
   Re-reading category.daase
   Re-reading browse.daase
(1) ->
(1) -> )read r
toBase: (NNI,PI)-> List NNI

Type: Void
Time: 0 sec
toBase(n,b) ==
  q := n
  l := [] :: List NNI
  while q>0 repeat
   r := divide(q,b).remainder
   l := append([r],l)
   q := divide(q,b).quotient
  l

Type: Void
Time: 0 sec
(3) -> toBase(423142423432,20)
   Compiling function toBase with type (NonNegativeInteger,PositiveInteger) -> List(NonNegativeInteger)
Unrelocated non-local symbol: _GLOBAL_OFFSET_TABLE_
(3) ->
Correctable error: Console interrupt.
Fast links are on: do (si::use-fast-links nil) for debugging
Signalled by SYSTEM::GCL-TOP-LEVEL.
If continued: Type :r to resume execution, or :q to quit to top level.
Console interrupt.

Broken at SYSTEM::GCL-TOP-LEVEL.  Type :H for Help.
    1 (continue) Type :r to resume execution, or :q to quit to top level.
    2  Return to top level.
BOOT>>

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Yet, it works  smoothly in 16.04 axiom binaries.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]