Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29252 Discussions

what is the correct function for antilog (0.3)

schaferm
Beginner
1,441 Views

using Compaq Fortran (1999)

I could not find a simple function for antilog (base 10) of a simple

number- say 0.3

In general, I thought it should be alog10 (0.3) But alog10 of 0.3 gives value of log10 0.3

what is the correct function for antilog (0.3) ?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,441 Views
alog is just log - the a is the Fortran convention for a function that returns a REAL value but the name otherwise would be implicitly INTEGER.

Don't you just want 10.0**number?
0 Kudos
Reply