内函数将整数转换为实数(16) [英] Intrinsic function to convert integers to real(16)

查看:117
本文介绍了内函数将整数转换为实数(16)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将整数转换为四倍精度数字的最佳方法是什么?

What is the best way to convert an integer to a quadruple precision number?

我使用双精度

StrainStep = MaximumStrain/dble(StrainIterations)

,但现在StrainStepMaximumStrainreal(16).我用什么代替dble?

but now StrainStep and MaximumStrain are real(16). What do I use instead of dble?

推荐答案

StrainStep = MaximumStrain/real(StrainIterations, 16)

这篇关于内函数将整数转换为实数(16)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆