📄 prfp.htm
字号:
<title>The prfp Command</title><h1 align=center>The prfp Command</h1><!--INDEX "prfp command" floating-point --></dl><h2>NAME</h2><dl><dd> prfp - convert between hex and floating-point</dl><h2>SYNOPSIS</h2><dl><dd><pre>prfp { [ -f ] fpvalue | [ hexvalue ] hexvalue }</pre></dl><h2>DESCRIPTION</h2><dl><dd> prfp is a host-resident utility that converts between hex and floating-point. It handles both single- and double-precision values. You can convert a floating-point value to hex, or a hex value to floating- point notation.</dl><h2>OPTIONS</h2><dl><dd><table><tr><td valign=top> -f </td><td>Specify that the input floating-point value is to converted to single precision format.</td></tr></table></dl><h2>EXAMPLES</h2><dl><dd> Convert the value 3.142 to hex using double precision for- mat.<p><pre> % prfp 3.142 400922d0 e5604189 dp=3.142000e+00</pre> Convert the value 3.142 to hex using single precision for- mat.<p><pre> % prfp -f 3.142 40491687 sp=3.142000e+00</pre> Convert the 64-bit hex value to floating-point notation using double precision format.<p><pre> % prfp 400922d0 e5604189 400922d0 e5604189 dp=3.142000e+00</pre> Convert the 64-bit hex value to floating-point notation using double precision format.<p><pre> % prfp 40491687 40491687 sp=3.142000e+00</pre></dl><p><hr><b>Navigation:</b> <a href="../index.htm">Document Home</a> | <a href="../doctoc.htm">Document Contents</a> | <a href="../docindex.htm">Document Index</a> <p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -