source: git/Tst/Manual/sqr.tst @ 432937c

spielwiese
Last change on this file since 432937c was 432937c, checked in by Hans Schoenemann <hannes@…>, 5 years ago
fix: accuracy for sqr/nt_solve (atkins.lib/ntsolve.lib)
  • Property mode set to 100644
File size: 358 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "atkins.lib";
3ring R25 = (real,25),x,dp;
4number ww=288469650108669535726081;
5number r=sqr(ww,25);
6r;
7r*r-ww;
8ww;
9ring R30 = (real,30),x,dp;
10number ww=288469650108669535726081;
11number r=sqr(ww,30);
12r;
13r*r-ww;
14ww;
15ring R60 = (real,60),x,dp;
16number ww=288469650108669535726081;
17number r=sqr(ww,60);
18r;
19r*r-ww;
20ww;
21tst_status(1);$
Note: See TracBrowser for help on using the repository browser.