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

log question

JohnNichols
Valued Contributor III
3,475 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,133 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
259 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