Skip to content

Commit 5ca39a3

Browse files
committed
Reduce the exponent to make test work on 32-bit mpfi
1 parent c9e5c99 commit 5ca39a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sage/rings/convert/mpfi.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ cdef int _from_str_question_style(mpfi_ptr x, bytes s, int base) except -1:
130130
131131
Large exponent (ensure precision is not lost)::
132132
133-
sage: x = RIF("1.123456?2e1000000000"); x
134-
1.12346?e1000000000
133+
sage: x = RIF("1.123456?2e100000000"); x
134+
1.12346?e100000000
135135
sage: x.str(style="question", error_digits=3)
136-
'1.12345600?201e1000000000'
136+
'1.12345600?201e100000000'
137137
138138
Large precision::
139139

0 commit comments

Comments
 (0)