Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

exponenciation

Status
Not open for further replies.

carlasilva

Programmer
Jan 6, 2003
12
0
0
PT
Does anyone know why Fortran doesn't accept for example 0.572*2**(2/3) and we have to write 0.572*2**(0.666666667)?
My program wasn't working propperly because of this.

Thank you !
 
Thank you that solves the problem!
I put **(2./3) and it worked.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top