source: git/Tst/Manual/wurzel.tst @ 6fb723

spielwiese
Last change on this file since 6fb723 was 951db29, checked in by Hans Schoenemann <hannes@…>, 12 years ago
fix: approximate floats are difficult to test: rewrote test
  • Property mode set to 100644
File size: 268 bytes
Line 
1LIB "aksaka.lib";
2ring R = 0,x,dp;
3def T=wurzel(7629412809180100);
4// T is only an approximation, depending on 32/64bit
5// and the implementation of nlMapLongR
6// check the approx. correctness approx.:
7ring RR=real,x,lp;
8number T=imap(R,T);
9T;
107629412809180100-T*T;
11$
Note: See TracBrowser for help on using the repository browser.