mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Getting rid of support for the ancient Apple MPW compiler.
This commit is contained in:
parent
6196322066
commit
fb2765666f
10 changed files with 0 additions and 80 deletions
|
@ -908,15 +908,7 @@ _Py_HashDouble(double v)
|
|||
* of mapping keys will turn out weird.
|
||||
*/
|
||||
|
||||
#ifdef MPW /* MPW C modf expects pointer to extended as second argument */
|
||||
{
|
||||
extended e;
|
||||
fractpart = modf(v, &e);
|
||||
intpart = e;
|
||||
}
|
||||
#else
|
||||
fractpart = modf(v, &intpart);
|
||||
#endif
|
||||
if (fractpart == 0.0) {
|
||||
/* This must return the same hash as an equal int or long. */
|
||||
if (intpart > LONG_MAX || -intpart > LONG_MAX) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue