Post Reply 
Extended Precision Library by G.E.
08-27-2021, 03:26 PM
Post: #5
RE: Extended Precision Library by G.E.
(08-27-2021 01:21 PM)robmio Wrote:  The error present in "multiprecision" is a "syntax error": the cursor is placed after the semicolon of "1000000▶m;xsetp(n);" on line 265.

The error present in "multiprecision2" is a "syntax error": the cursor is placed after the semicolon of "xx10mp(−b*a)▶g;xdivk(g,b,p)▶g;" before "xdivk(g,b,p)" on line 170.

The error present in "testmulti" is a "syntax error": the cursor is placed at the beginning of line 108, at the level of "xtof (U)▶f".

Thanks, Roberto

It's a matter of cross references:
  • xsetp() called in multiprecision is defined in multiprecision2
  • xdivk() called in multiprecision2 is defined in multiprecision
Each program is requiring the other one to be compiled first, so it's a deadlock. This can happen when you develop programs and you add functions incrementally, you may not notice it as you start from existing compiled programs that you modify.

One way to solve this is simply to copy the content of multiprecision2 at the end of multiprecision and delete multiprecision2 . Then no more syntax errors.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Extended Precision Library by G.E. - Didier Lachieze - 08-27-2021 03:26 PM



User(s) browsing this thread: 1 Guest(s)