Questions tagged [mpfr]

The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.

The MPFR library is built on the GNU Multi-Precision Arithmetic Library. It is licensed under the GNU LGPL v3 (or later versions).

The MPFR library is a C library for multiple-precision floating-point computations with correct rounding.

The main goal of MPFR is to provide a library for multiple-precision floating-point computation which is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for double-precision floating-point arithmetic (53-bit significand).

Both GMP and MPFR (and also MPC) are prerequisites when building the GNU Compiler Collection.

198 questions
-2
votes
1 answer

Changed computer now can not compile

I have encountered a problem which I do not know where to begin with. I developed code on my laptop and it works fine. I moved to another computer and now during compilation I get, error: unknown type name 'mpfr_exp_t' The mpfr library is…
-2
votes
1 answer

C++ type for floating numbers with high precision

We are having heavy issues with data types. I have huge problem with data types in c++. I have to handle numbers with 100 digits. I've been trying to use mpfr real, but the compiler crashs always. #include #include #include…
Tamwyn
  • 312
  • 4
  • 16
-4
votes
1 answer

How to compile GCC cross-compiler?

I am trying to compile GCC for i586-elf but every time I run the 'configure' file with this command: ./configure --target=$TARGET --prefix=$PREFIX --disable-nls --enable languages=c --without-headers --with-gmp=$PREFIX…
1 2 3
13
14