Going past the float size limits?

Discussion in 'Python' started by Fredrik Johansson, Oct 28, 2007.

  1. jimmy.musselwhite at gmail.com wrote:
    > Hello all
    > It would be great if I could make a number that can go beyond current
    > size limitations. Is there any sort of external library that can have
    > infinitely huge numbers? Way way way way beyond say 5x10^350 or
    > whatever it is?


    > I'm hitting that "inf" boundary rather fast and I can't seem to work
    > around it.


    > Thanks!


    mpmath (http://code.google.com/p/mpmath/) supports nearly unlimited
    exponents (as large as fit in your computer's memory); much larger
    than gmpy. It is also essentially compatible with regular floats with
    respect to rounding, function support, etc, if you need that.

    Fredrik
    Fredrik Johansson, Oct 28, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Geoff Robinson

    Table going past width boundries

    Geoff Robinson, Oct 20, 2004, in forum: HTML
    Replies:
    4
    Views:
    496
  2. bd
    Replies:
    0
    Views:
    624
  3. Bas Wassink

    Incrementing variables past limits

    Bas Wassink, Jan 4, 2005, in forum: C Programming
    Replies:
    26
    Views:
    766
    Chris Torek
    Jan 11, 2005
  4. Replies:
    19
    Views:
    522
    Paul Rubin
    Oct 28, 2007
  5. Carsten Fuchs
    Replies:
    45
    Views:
    1,540
    James Kanze
    Oct 8, 2009
Loading...

Share This Page