[Commit] nickle ChangeLog,1.109,1.110 prng.5c,1.11,1.12
Keith Packard
commit at keithp.com
Fri Dec 10 21:02:56 PST 2004
- Previous message: [Commit] nickle ChangeLog,1.108,1.109 float.c,1.24,1.25
- Next message: [Commit] nickle ChangeLog, 1.110, 1.111 Makefile.am, 1.62,
1.63 builtin-namespaces.h, 1.4, 1.5 builtin-sockets.c, 1.15,
1.16 builtin.c, 1.20, 1.21 builtin.h, 1.9, 1.10 configure.in,
1.38, 1.39 execute.c, 1.93, 1.94 file.c, 1.64, 1.65 gram.y,
1.143, 1.144 io.c, 1.12, 1.13 lex.l, 1.80, 1.81 mem.h, 1.16,
1.17 nickle.h, 1.120, 1.121 sched.c, 1.58, 1.59 string.c, 1.19,
1.20 value.c, 1.49, 1.50 value.h, 1.108, 1.109
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /local/src/CVS/nickle
In directory home.keithp.com:/tmp/cvs-serv3035
Modified Files:
ChangeLog prng.5c
Log Message:
2004-12-10 Keith Packard <keithp at keithp.com>
* prng.5c:
ARC4 requires positive keys
Index: ChangeLog
===================================================================
RCS file: /local/src/CVS/nickle/ChangeLog,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -d -r1.109 -r1.110
--- ChangeLog 11 Dec 2004 04:53:43 -0000 1.109
+++ ChangeLog 11 Dec 2004 05:02:53 -0000 1.110
@@ -1,5 +1,10 @@
2004-12-10 Keith Packard <keithp at keithp.com>
+ * prng.5c:
+ ARC4 requires positive keys
+
+2004-12-10 Keith Packard <keithp at keithp.com>
+
* float.c: (FloatPrint), (NewDoubleFloat), (DoublePart):
Round floats correctly for printing.
Add double<->real conversion for (eventual) use in C code.
Index: prng.5c
===================================================================
RCS file: /local/src/CVS/nickle/prng.5c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- prng.5c 8 Jun 2004 09:30:54 -0000 1.11
+++ prng.5c 11 Dec 2004 05:02:53 -0000 1.12
@@ -16,7 +16,7 @@
* Seed the PRNG with 's'
*/
{
- ARC4::nsetkey(10, s);
+ ARC4::nsetkey(10, abs (s));
setkey = true;
}
- Previous message: [Commit] nickle ChangeLog,1.108,1.109 float.c,1.24,1.25
- Next message: [Commit] nickle ChangeLog, 1.110, 1.111 Makefile.am, 1.62,
1.63 builtin-namespaces.h, 1.4, 1.5 builtin-sockets.c, 1.15,
1.16 builtin.c, 1.20, 1.21 builtin.h, 1.9, 1.10 configure.in,
1.38, 1.39 execute.c, 1.93, 1.94 file.c, 1.64, 1.65 gram.y,
1.143, 1.144 io.c, 1.12, 1.13 lex.l, 1.80, 1.81 mem.h, 1.16,
1.17 nickle.h, 1.120, 1.121 sched.c, 1.58, 1.59 string.c, 1.19,
1.20 value.c, 1.49, 1.50 value.h, 1.108, 1.109
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Commit
mailing list