diff options
| author | Frank Ch. Eigler <fche@redhat.com> | 2024-11-08 20:15:06 -0500 |
|---|---|---|
| committer | Frank Ch. Eigler <fche@redhat.com> | 2024-11-08 20:15:06 -0500 |
| commit | f482219e0031fa76a785735146bdc953c7a60f28 (patch) | |
| tree | b71c5cc38e5e376be4c9c878f415662040e4afd8 /tapsets/API-fp-to-long.html | |
| parent | Links page: add some bunsen/build/test related outgoing links (diff) | |
add new tapsets/*.html
Diffstat (limited to 'tapsets/API-fp-to-long.html')
| -rw-r--r-- | tapsets/API-fp-to-long.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tapsets/API-fp-to-long.html b/tapsets/API-fp-to-long.html index 305d7518..299878a1 100644 --- a/tapsets/API-fp-to-long.html +++ b/tapsets/API-fp-to-long.html | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | Convert fp to int64 | 2 | Convert fp to int64 |
| 3 | </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> | 3 | </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> |
| 4 | fp_to_long:long(infp:long,roundingMode:long,exact:long) | 4 | fp_to_long:long(infp:long,roundingMode:long,exact:long) |
| 5 | </pre></div><div class="refsect1"><a name="id2659"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>infp</code></em></span></dt><dd><p> | 5 | </pre></div><div class="refsect1"><a name="id2661"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>infp</code></em></span></dt><dd><p> |
| 6 | the 64 bit floating point stored in long | 6 | the 64 bit floating point stored in long |
| 7 | </p></dd><dt><span class="term"><em class="parameter"><code>roundingMode</code></em></span></dt><dd><p> | 7 | </p></dd><dt><span class="term"><em class="parameter"><code>roundingMode</code></em></span></dt><dd><p> |
| 8 | through 0-6, which are round to nearest even, minMag, | 8 | through 0-6, which are round to nearest even, minMag, |
| @@ -10,7 +10,7 @@ | |||
| 10 | </p></dd><dt><span class="term"><em class="parameter"><code>exact</code></em></span></dt><dd><p> | 10 | </p></dd><dt><span class="term"><em class="parameter"><code>exact</code></em></span></dt><dd><p> |
| 11 | the boolean value, if exact is 1 than raising inexact | 11 | the boolean value, if exact is 1 than raising inexact |
| 12 | exception, otherwise ignore the exception. | 12 | exception, otherwise ignore the exception. |
| 13 | </p></dd></dl></div></div><div class="refsect1"><a name="id2660"></a><h2>Description</h2><p> | 13 | </p></dd></dl></div></div><div class="refsect1"><a name="id2662"></a><h2>Description</h2><p> |
| 14 | Given a 64 bit floating point, which is stored in long, | 14 | Given a 64 bit floating point, which is stored in long, |
| 15 | use the long value to initiate self-defined float64_t type, then | 15 | use the long value to initiate self-defined float64_t type, then |
| 16 | apply the f64_to_i64 function to get the string representation. | 16 | apply the f64_to_i64 function to get the string representation. |
