From e8848d5e7a64aafa2b2b9adec2cbb34167540e4a Mon Sep 17 00:00:00 2001 From: user202729 <25191436+user202729@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:06:27 +0700 Subject: [PATCH] Add another test --- src/sage/rings/convert/mpfi.pyx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sage/rings/convert/mpfi.pyx b/src/sage/rings/convert/mpfi.pyx index 18991667ce5..4007455bcfd 100644 --- a/src/sage/rings/convert/mpfi.pyx +++ b/src/sage/rings/convert/mpfi.pyx @@ -145,6 +145,9 @@ cdef int _from_str_question_style(mpfi_ptr x, bytes s, int base) except -1: True sage: x in F(x.str(style="question", error_digits=0)) True + sage: F("1.123456789123456789123456789123456789123456789123456789123456789123456789?987654321987654321987654321e500").endpoints() # rel tol 1e-290 + (1.123456789123456789123456789123456789123456788135802467135802467135802468e500, + 1.12345678912345678912345678912345678912345679011111111111111111111111111e500) Stress test::