fix arith
This commit is contained in:
parent
7ad9bc4e51
commit
9b73e93fd4
|
@ -431,7 +431,7 @@
|
|||
<> ((astr1 (N ?k) (N ?x) ?a)) ((astr2 (N ?k) (divmod (N ?x) (N ten)) ?a))
|
||||
<> ((astr2 (N ?k) ((N ?q) (N ?r)) ?a)) ((astr1 (dec (N ?k)) (N ?q) ((decimal ?r) ?a)))
|
||||
|
||||
-- ( first 16 convergents of the continued fraction. the 14th term provides more precision than 64-bit floating point
|
||||
-- ( first 16 convergents of the continued fraction. the 14th term provides more precision than 64-bit floating point )
|
||||
<> (pi/cf) (((nat 3) ((nat 7) ((nat 15) ((nat 1) ((nat 292) ((nat 1) ((nat 1) ((nat 1) ((nat 2) ((nat 1) ((nat 3) ((nat 1) ((nat 14) ((nat 2) ((nat 1) ((nat 1) ())))))))))))))))))
|
||||
|
||||
<> ((pi/rat (N ?k))) ((pi/rat1 (N ?k) pi/cf))
|
||||
|
|
|
@ -346,7 +346,6 @@ main(int argc, char **argv)
|
|||
case 'p': /* debug */ debug = 1; break;
|
||||
case 'a': /* access */ access = 1; break;
|
||||
case 'n': /* infinite */ cycles = 0xffffffff; break;
|
||||
case 'u': /* unused */ unused = 1; break;
|
||||
}
|
||||
}
|
||||
file_import(argv[i], src_);
|
||||
|
|
Loading…
Reference in New Issue