Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29284 Discussions

what is the correct function for antilog (0.3)

schaferm
Beginner
1,461 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,461 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