diff options
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/out_str.c')
-rw-r--r-- | Build/source/libs/mpfr/mpfr-src/src/out_str.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/out_str.c b/Build/source/libs/mpfr/mpfr-src/src/out_str.c index c78a7dbaa7b..54337b2c5a1 100644 --- a/Build/source/libs/mpfr/mpfr-src/src/out_str.c +++ b/Build/source/libs/mpfr/mpfr-src/src/out_str.c @@ -1,6 +1,6 @@ /* mpfr_out_str -- output a floating-point number to a stream -Copyright 1999, 2001-2002, 2004, 2006-2018 Free Software Foundation, Inc. +Copyright 1999, 2001-2002, 2004, 2006-2019 Free Software Foundation, Inc. Contributed by the AriC and Caramba projects, INRIA. This file is part of the GNU MPFR Library. @@ -17,7 +17,7 @@ License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see -http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., +https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "mpfr-impl.h" @@ -43,10 +43,6 @@ mpfr_out_str (FILE *stream, int base, size_t n_digits, mpfr_srcptr op, MPFR_ASSERTN (base >= 2 && base <= 62); - /* when stream=NULL, output to stdout */ - if (stream == NULL) - stream = stdout; - if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (op))) { if (MPFR_IS_NAN (op)) |