|
[Sponsors] |
April 13, 2013, 04:01 |
how can i use a^1.25
|
#1 |
New Member
DongGunKo
Join Date: Apr 2013
Posts: 13
Rep Power: 13 |
in UDF, using fortran, i want to use a^1.25 through a**1.25
but it returns error. how can i use a^1.25 in fortran coding for UDF? |
|
April 13, 2013, 07:59 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Sounds like basic fortran to me: http://www.cs.mtu.edu/~shene/COURSES...S/fortran.html
|
|
April 14, 2013, 12:13 |
|
#3 |
Senior Member
Join Date: Dec 2009
Posts: 131
Rep Power: 19 |
the returned error would be good to have.
Range for "a" and the formula "a"'s result is used in. also remember that numbers without decimals will be treated like in INTEGER and truncated. I do not remember that if the exponent is REAL then does the result calculate as REAL? Been forever since I used fortran. |
|
Tags |
fortran code, udf and programming |
|
|