comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to use large (>10^38) numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to use large (>10^38) numbers [message #71074] Fri, 28 May 2010 15:40
Gray is currently offline  Gray
Messages: 253
Registered: February 2010
Senior Member
On May 28, 5:50 pm, Adam Solomon <rampa...@gmail.com> wrote:
> I've got a piece of code where I need to make a calculation where one
> part is a certain float variable (on the order of 10^28) squared. IDL
> likes to call this "inf". Apparently no data type I can find (float
> included) is willing to recognize a number greater than about 3e38 as
> a finite number. I can think of a number of unwieldy workarounds to do
> this calculation, but is there a way to store numbers this large (up
> to ~10^60) in an array?

You can use double-precision floats.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to use large (>10^38) numbers
Next Topic: Re: Noise calculation in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:03:13 PDT 2025

Total time taken to generate the page: 1.35938 seconds