# HG changeset patch
# User William Stein <wstein@gmail.com>
# Date 1281550739 25200
# Node ID 73a3e0587d314a443db411156fbbdc7db0c84ef6
# Parent 0ac45127baf4559a753d827a2064058d787bd86c
trac 4000: Implement QQ['x'] via Flint ZZ['x'] + denominator  64bit update
diff git a/sage/rings/polynomial/polynomial_rational_flint.pyx b/sage/rings/polynomial/polynomial_rational_flint.pyx
a

b


989  989  We verify the size condition on the exponent:: 
990  990  
991  991  sage: R.<t> = QQ[] 
992   sage: (1 + t)^(2^31) 
 992  sage: (1 + t)^(2^63) 
993  993  Traceback (most recent call last): 
994  994  ... 
995  995  OverflowError: long int too large to convert to int 