Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: private % lessons

Author: Dieter Buerssner

Date: 15:53:33 09/16/03

Go up one level in this thread


Some output of a similar prog with 100 decimal precision. Actually I have
written a small language, to test such things.

CALC 27> c=2^64-1
 1.844674407370955161500000000000000000000000000000000000000000000000000E19
CALC 28> for ({i=1},{i<=41},{i+=2}){i;val;(c+i)/i-floor((c+i)/i+0.5);val}
[i on one line, on the next line the difference between (c+i)/i and the same
rounded to integer]
 1.000000000000000000000000000000000000000000000000000000000000000000000E0
 0.000000000000000000000000000000000000000000000000000000000000000000000E0
 3.000000000000000000000000000000000000000000000000000000000000000000000E0
 0.000000000000000000000000000000000000000000000000000000000000000000000E0
 5.000000000000000000000000000000000000000000000000000000000000000000000E0
 0.000000000000000000000000000000000000000000000000000000000000000000000E0
 7.000000000000000000000000000000000000000000000000000000000000000000000E0
 1.428571428571428571428571428571428571428571428571428571428571428571429E-1
 9.000000000000000000000000000000000000000000000000000000000000000000000E0
-3.333333333333333333333333333333333333333333333333333333333333333333333E-1
 1.100000000000000000000000000000000000000000000000000000000000000000000E1
 3.636363636363636363636363636363636363636363636363636363636363636363636E-1
 1.300000000000000000000000000000000000000000000000000000000000000000000E1
 1.538461538461538461538461538461538461538461538461538461538461538461538E-1
 1.500000000000000000000000000000000000000000000000000000000000000000000E1
 0.000000000000000000000000000000000000000000000000000000000000000000000E0
 1.700000000000000000000000000000000000000000000000000000000000000000000E1
 0.000000000000000000000000000000000000000000000000000000000000000000000E0
 1.900000000000000000000000000000000000000000000000000000000000000000000E1
-1.578947368421052631578947368421052631578947368421052631578947368421053E-1
 2.100000000000000000000000000000000000000000000000000000000000000000000E1
-2.857142857142857142857142857142857142857142857142857142857142857142857E-1
 2.300000000000000000000000000000000000000000000000000000000000000000000E1
 2.173913043478260869565217391304347826086956521739130434782608695652174E-1
 2.500000000000000000000000000000000000000000000000000000000000000000000E1
-4.000000000000000000000000000000000000000000000000000000000000000000000E-1
 2.700000000000000000000000000000000000000000000000000000000000000000000E1
-1.111111111111111111111111111111111111111111111111111111111111111111111E-1
 2.900000000000000000000000000000000000000000000000000000000000000000000E1
-2.068965517241379310344827586206896551724137931034482758620689655172414E-1
 3.100000000000000000000000000000000000000000000000000000000000000000000E1
 4.838709677419354838709677419354838709677419354838709677419354838709677E-1
 3.300000000000000000000000000000000000000000000000000000000000000000000E1
 4.545454545454545454545454545454545454545454545454545454545454545454545E-1
 3.500000000000000000000000000000000000000000000000000000000000000000000E1
 4.285714285714285714285714285714285714285714285714285714285714285714286E-1
 3.700000000000000000000000000000000000000000000000000000000000000000000E1
 2.972972972972972972972972972972972972972972972972972972972972972972973E-1
 3.900000000000000000000000000000000000000000000000000000000000000000000E1
 3.846153846153846153846153846153846153846153846153846153846153846153846E-1
 4.100000000000000000000000000000000000000000000000000000000000000000000E1
 3.658536585365853658536585365853658536585365853658536585365853658536585E-1

Cheers,
Dieter



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.