GMP in dev c++ oder borland builder vcl?



  • Gibt es für diese auch solche arythmetik tools?
    da ich bis auf eine 84te stelle genau rechnen muss und der gMP nur über gcc compilier bar ist (soweit ich das sehe, habe bisher nicht anderes dazu gelesen).

    Von daher würde ich gern wissen wie da sonst möglich ist?!

    Vielen Dank

    mfg Julian



  • Dev-C++ benutzt den gcc!

    Und außerdem läuft die Bibliothek AFAIK mit _jedem_ C++ Compiler (wie jede Anständige).

    y != i



  • es gibt keine gmp.h die man einbinden soll in dem package...
    auch per suche ist sie nirgends zu finden...
    ?!





  • GMP wird oft fehlerhaft kompiliert!!!

    IMPORTANT INFORMATION FOR ALL GMP USERS:

    GMP is very often miscompiled! We are seeing ever increasing problems with mis-compilations of the GMP code. Please never use your newly compiled libgmp.a or libgmp.so without first running make check. If it doesn't run without errors, don't trust the library, and please report this as a bug to the gmp-bugs@swox.com list, so that we can investigate it and make sure the bug is indeed in the compiler. (The compilers that cause problems are HP's unbundled compilers and GCC, in particular Apple's GCC releases. It has come to the point where a new compiler can be expected to miscompile GMP.)

    As an example, of the 5 platforms where we've tried GCC 4.0.0, GCC doesn't build on two platforms, and miscompiles GMP on the other three platforms. The GCC 3.4 series also had major problems, while the GCC 3.3 series worked somewhat better.

    The GMP team deals with compiler bugs by having configure choose working optimization options, by changing the GMP code, and by rejecting hopeless compilers. But we cannot keep up with the GCC releases, which makes using a new GCC for compiling GMP quite risky. The GMP testsuite has great coverage, but it is not perfect, which means a make check isn't a guarantee. To increase the likelyhood that you get a working libgmp, we recommend that you use a GCC released well before the GMP release you are compiling. Then we will have had a chance to implement workarounds.

    For GMP 4.1.4, we recommend that you use GCC 3.3.x or older. We've had some luck with GCC 3.4.x on some systems, but we have yet to find a system where GCC 4.0.0 builds, and neither crashes or miscompiles the GMP sources.

    UPDATE: We've had much more luck with GCC 4.0.1. It might actually be a usable compiler, but the usual care should be applied.



  • wie ist das mit der e function gibt es bei gmp schon eine folge dafür die zu berechnen oder muss ich die Summenform nehmen und die jedesmal für jedes x ausrechnen?

    Wäre einfaher wenn es da eine funktion gäbe für e^x oder auch nur die zahl e.. den mit mpf_pow_ui geht ja ohne probleme ne hochzahl 😉

    vielen dank

    mfg Julian


Anmelden zum Antworten