This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OT] __builtin_cpow((0,0),(0,0))


Joost VandeVondele wrote:
>>Great now I have taken the silliest thread I've ever seen on 
>>gcc@gcc.gnu.org to fortran@gcc.gnu.org.
> 
> not quite that silly, as you can see running this program with and without 
> the line commented.
> 
> integer :: i=0
> real :: a=0.0
> !write(6,*) 0.0**0
> write(6,*) a**i
> END

Isn't gfortran nice?

Your example is not related to the thread because you're not exponentiating
complex numbers by complex exponents :-) The question I tried to answer (on
the wrong list unfortunately) has some relevance, even though the
'mathematical' part of the thread is silly.

- Tobi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]