diff options
| author | serhei <serhei> | 2021-11-19 16:31:03 +0000 |
|---|---|---|
| committer | serhei <serhei> | 2021-11-19 16:31:03 +0000 |
| commit | 4e6b6ad960cf9c79a814f3a09f8048ff389d866e (patch) | |
| tree | 15bec9f2679d23e3260effd22004c749ff5c8bdd /tapsets/API-fp-to-long.html | |
| parent | add new tutorial/* (diff) | |
removed man pages
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 fe0b4379..7e757c39 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="idm45904816065888"></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="idm45409691955728"></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="idm45904816058480"></a><h2>Description</h2><p> | 13 | </p></dd></dl></div></div><div class="refsect1"><a name="idm45409691948320"></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. |
