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

Home » Public Forums » archive » exp function bug
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
exp function bug [message #7587] Thu, 05 December 1996 00:00 Go to next message
Robert Cannon is currently offline  Robert Cannon
Messages: 5
Registered: February 1996
Junior Member
Can anyone tell me what is going on here, or if it happens on other
platforms?

The first time I call exp (-710.72026d0) after starting idl I get:

hera:~> idl
IDL. Version 4.0.1 (IRIX mipseb).

IDL> print, exp (-710.72026d0)
2.8462073e+134
IDL> print, exp (-710.72026d0)
2.1782760e-309

This is on an sgi crimson. I get the impression the same may happen on
an alpha, but for a different value - it has to be -710.72026d0 on the
sgi: -710.72025d0 works fine.....

robert



Neuroscience Research Group Tel: (0)1703 594286
School of Biologial Sciences Fax: (0)1703 594319
Bassett Crescent East rcc@hera.neuro.soton.ac.uk
Southampton SO16 7PX
Re: exp function bug [message #7693 is a reply to message #7587] Tue, 10 December 1996 00:00 Go to previous message
David R. Klassen is currently offline  David R. Klassen
Messages: 14
Registered: December 1996
Junior Member
David Fanning wrote:
>
> Andy Loughe <afl@cdc.noaa.gov> wrote:
>
>> Robert Cannon wrote:
>>>
>>> Can anyone tell me what is going on here, or if it happens on other
>>> platforms?
>>>
>>> The first time I call exp (-710.72026d0) after starting idl I get:
>>>
>>> hera:~> idl
>>> IDL. Version 4.0.1 (IRIX mipseb).
>>>
>>> IDL> print, exp (-710.72026d0)
>>> 2.8462073e+134
>>> IDL> print, exp (-710.72026d0)
>>> 2.1782760e-309
>>>
>>> This is on an sgi crimson. I get the impression the same may happen on
>>> an alpha, but for a different value - it has to be -710.72026d0 on the
>>> sgi: -710.72025d0 works fine.....
>>
>>
>> For interest's sake...
>> This does not happen on a SUN SparcStation running Solaris 2.5
>
> Doesn't happen on a Mac either.
>
> David
>
> -----------------------------------------------------------
> David Fanning, Ph.D.
> Fanning Software Consulting
> 2642 Bradbury Court, Fort Collins, CO 80521
> Phone: 970-221-0438 Fax: 970-221-4762
> E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com
> -----------------------------------------------------------

Nor on Win32.
--
David R. Klassen
Department of Physics and Astronomy
University of Wyoming
Box 3905 University Station
Laramie WY 82071
http://faraday.uwyo.edu/grads/dklassen/
drk@uwyo.edu
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: AutoCorrelation
Next Topic: Functions and arrays

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

Current Time: Wed Oct 08 19:51:00 PDT 2025

Total time taken to generate the page: 0.00418 seconds