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.

log question

JohnNichols
Valued Contributor III
3,630 Views
log(float(num))

if num is an integer, why not have a log function that can take an integer?

0 Kudos
1 Solution
jimdempseyatthecove
Honored Contributor III
3,288 Views

See:

IEEE_SET_ROUNDING_MODE
 you can set to IEEE_DOWN, IEEE_NEAREST, IEEE_TO_ZERO, IEEE_UP, or IEEE_OTHER
IEEE_RINT using above mode
 
Jim Dempsey
 

View solution in original post

0 Kudos
21 Replies
JohnNichols
Valued Contributor III
271 Views

I was just playing as I waited from some runs to complete.  You have to do something.  

And it generated some comment, you should try the MKL Forum.  

0 Kudos
Reply