Re: problem with very small numbers - g95 versus gfortran
- From: e p chandler <epc8@xxxxxxxx>
- Date: Wed, 28 May 2008 22:09:27 -0700 (PDT)
On May 28, 11:58 pm, "James Van Buskirk" <not_va...@xxxxxxxxxxx>
wrote:
"e p chandler" <e...@xxxxxxxx> wrote in messagenews:9059cf42-b099-4825-990e-fd1b7df9fa09@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Looking up TINY() shows:
TINY(X) returns the smallest positive (non zero) number in the model
of the type of X.
Please explain what I am seeing in light of the above definition. Does
this mean that specifying a literal in double precision where that
literal is less than tiny() is invalid? Yet it seems to work with
gfortran.
At least you found the boundary where the bug is triggered.
I don't have much time, but a description of denormals might perhaps
be found inhttp://download.intel.com/design/processor/manuals/253665.pdf
section 4.8.3.2. Suffice it to say that denormals aren't model
numbers.
1. MR&C [p. 166] says "Note that is quite likely that there are some
machine numbers that lie outside the model." It then mentions
denormals.
2. Thanks for the Intel reference.
3. I really do like MR&C, but it's quite terse. I think I need a book
entitled "fortran 95/2003 explained explained".
- e
.
- Follow-Ups:
- Re: problem with very small numbers - g95 versus gfortran
- From: James Van Buskirk
- Re: problem with very small numbers - g95 versus gfortran
- References:
- problem with very small numbers - g95 versus gfortran
- From: e p chandler
- Re: problem with very small numbers - g95 versus gfortran
- From: James Van Buskirk
- Re: problem with very small numbers - g95 versus gfortran
- From: e p chandler
- Re: problem with very small numbers - g95 versus gfortran
- From: James Van Buskirk
- problem with very small numbers - g95 versus gfortran
- Prev by Date: Re: problem with very small numbers - g95 versus gfortran
- Next by Date: Re: problem with very small numbers - g95 versus gfortran
- Previous by thread: Re: problem with very small numbers - g95 versus gfortran
- Next by thread: Re: problem with very small numbers - g95 versus gfortran
- Index(es):
Relevant Pages
|
|