mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Merge pull request #1784 from radarhere/pow
Removed powf support for older Python versions
This commit is contained in:
		
						commit
						c099e0168e
					
				| 
						 | 
					@ -24,13 +24,6 @@
 | 
				
			||||||
#define MAX_INT32 2147483647.0
 | 
					#define MAX_INT32 2147483647.0
 | 
				
			||||||
#define MIN_INT32 -2147483648.0
 | 
					#define MIN_INT32 -2147483648.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(_MSC_VER) && _MSC_VER < 1500
 | 
					 | 
				
			||||||
/* python 2.1/2.2/2.3 = VC98 = VER 1200 */
 | 
					 | 
				
			||||||
/* python 2.4/2.5 = VS.NET 2003 = VER 1310 */
 | 
					 | 
				
			||||||
/* python 2.6 = VS 9.0 = VER 1500 */
 | 
					 | 
				
			||||||
#define powf(a, b) ((float) pow((double) (a), (double) (b)))
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#define UNOP(name, op, type)\
 | 
					#define UNOP(name, op, type)\
 | 
				
			||||||
void name(Imaging out, Imaging im1)\
 | 
					void name(Imaging out, Imaging im1)\
 | 
				
			||||||
{\
 | 
					{\
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user