Added 1995 to copyright message.

floatobject.c: fix hash().
methodobject.c: support METH_FREENAME flag bit.
This commit is contained in:
Guido van Rossum 1995-01-04 19:07:38 +00:00
parent 5799b52008
commit 6610ad9d6b
19 changed files with 50 additions and 47 deletions

View file

@ -1,6 +1,6 @@
/***********************************************************
Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
The Netherlands.
All Rights Reserved
@ -212,7 +212,7 @@ float_hash(v)
}
else {
fractpart = frexp(fractpart, &expo);
fractpart = fractpart*4294967296.0; /* 2**32 */
fractpart = fractpart*2147483648.0; /* 2**31 */
x = (long) (intpart + fractpart) ^ expo; /* Rather arbitrary */
}
if (x == -1)