Re: Grumbling about setting double precision [message #78766 is a reply to message #78765] |
Wed, 21 December 2011 08:15   |
Russell[1]
Messages: 101 Registered: August 2011
|
Senior Member |
|
|
No new rules, PLEASE!! Imagine what that would do for backwards-
compatibility!??!?
Russell
On Dec 21, 10:21 am, David Fanning <n...@dfanning.com> wrote:
> greg.a...@googlemail.com writes:
>> ...for each number written out by hand in your code. Even IDL
>> on a 32bit Windows machine will swallow 100 million of those at a go
>> without a hiccup. How many numbers do you type into your programs? :)
>
> So, you are saying, don't make all current floats doubles,
> but make a double out of anything I define by hand: a=24.5.
>
> But, what happens when I multiply my 10000x10000 floating
> point array by my variable: array = array * a.
>
> That will *surely* double the memory, or do we need new
> rules for promoting values?
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|