Hi,
I want to get a sqrt from an integer to quad precision. I tried to do this:
integer : i_j
real*16 :: r_hlp
r_hlp = sqrt(i_j)
but the compiler does not cast the integer to quad precision and therefor says that the types are not correct. How do I solve this? Casting to double precision via dble(i_j) is easy, is there a similar for quad precision?
I want to get a sqrt from an integer to quad precision. I tried to do this:
integer : i_j
real*16 :: r_hlp
r_hlp = sqrt(i_j)
but the compiler does not cast the integer to quad precision and therefor says that the types are not correct. How do I solve this? Casting to double precision via dble(i_j) is easy, is there a similar for quad precision?