summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Forsyth <charles.forsyth@gmail.com>2018-12-23 13:11:17 +0000
committerCharles Forsyth <charles.forsyth@gmail.com>2018-12-23 13:11:17 +0000
commit3b2b7dcdedcd732b92403b784d8c3797d80a6599 (patch)
tree7135955a3fc5673beb288ab34b563deaf91678a8
parent1921aab2126e947a7bae2a70794abb8c5f74522e (diff)
use IPints not Keyring
-rw-r--r--appl/math/mersenne.b8
-rw-r--r--appl/math/parts.b8
-rw-r--r--dis/math/mersenne.disbin1144 -> 1143 bytes
-rw-r--r--dis/math/parts.disbin1539 -> 1538 bytes
4 files changed, 8 insertions, 8 deletions
diff --git a/appl/math/mersenne.b b/appl/math/mersenne.b
index c90254b0..7efc4a97 100644
--- a/appl/math/mersenne.b
+++ b/appl/math/mersenne.b
@@ -3,9 +3,9 @@ implement Mersenne;
include "sys.m";
sys : Sys;
include "draw.m";
-include "keyring.m";
- keyring: Keyring;
- IPint: import keyring;
+include "ipints.m";
+ ipints: IPints;
+ IPint: import ipints;
# Test primality of Mersenne numbers
@@ -17,7 +17,7 @@ Mersenne: module
init(nil: ref Draw->Context, argv: list of string)
{
sys = load Sys Sys->PATH;
- keyring = load Keyring Keyring->PATH;
+ ipints = load IPints IPints->PATH;
p := 3;
if(tl argv != nil)
p = int hd tl argv;
diff --git a/appl/math/parts.b b/appl/math/parts.b
index 36c36d8e..be5cd1bb 100644
--- a/appl/math/parts.b
+++ b/appl/math/parts.b
@@ -3,9 +3,9 @@ implement Partitions;
include "sys.m";
sys : Sys;
include "draw.m";
-include "keyring.m";
- keyring: Keyring;
- IPint: import keyring;
+include "ipints.m";
+ ipints: IPints;
+ IPint: import ipints;
#
# the number p(n) of partitions of n
@@ -25,7 +25,7 @@ Partitions: module
init(nil: ref Draw->Context, argv: list of string)
{
sys = load Sys Sys->PATH;
- keyring = load Keyring Keyring->PATH;
+ ipints = load IPints IPints->PATH;
argv = tl argv;
while(argv != nil){
s := hd argv;
diff --git a/dis/math/mersenne.dis b/dis/math/mersenne.dis
index 6a3b0ebc..8a388809 100644
--- a/dis/math/mersenne.dis
+++ b/dis/math/mersenne.dis
Binary files differ
diff --git a/dis/math/parts.dis b/dis/math/parts.dis
index ee7632cb..7eb56ba2 100644
--- a/dis/math/parts.dis
+++ b/dis/math/parts.dis
Binary files differ