mirror of https://gitlab.com/rnger/amath
135 lines
25 KiB
HTML
135 lines
25 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>amath: lib/real/atanh.c Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(initResizable);
|
|
$(window).load(resizeHeight);
|
|
</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<script type="text/javascript">
|
|
$(document).ready(function() { init_search(); });
|
|
</script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">amath
|
|
 <span id="projectnumber">1.6.2</span>
|
|
</div>
|
|
<div id="projectbrief">Simple command line calculator</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
|
<span class="left">
|
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
alt=""/>
|
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
|
</span><span class="right">
|
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
|
</span>
|
|
</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="files.html"><span>File List</span></a></li>
|
|
<li><a href="globals.html"><span>File Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
$(document).ready(function(){initNavTree('atanh_8c_source.html','');});
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">atanh.c</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="atanh_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* @(#)e_atanh.c 1.3 95/01/18 */</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> </div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">/*</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * Copyright (c) 2015-2017 Carsten Sonne Larsen <cs@innolan.dk></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * modification, are permitted provided that the following conditions</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * are met:</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * notice, this list of conditions and the following disclaimer.</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * documentation and/or other materials provided with the distribution.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,</span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> *</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * The origin source code can be obtained from:</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> * http://www.netlib.org/fdlibm/e_atanh.c</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment"> * </span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"> */</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">/*</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"> * ====================================================</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment"> * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment"> *</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment"> * Developed at SunSoft, a Sun Microsystems, Inc. business.</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment"> * Permission to use, copy, modify, and distribute this</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment"> * software is freely granted, provided that this notice</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="comment"> * is preserved.</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment"> * ====================================================</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> *</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment"> */</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#</span><span class="preprocessor">include</span> <a class="code" href="real_2prim_8h.html">"prim.h"</a></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#</span><span class="preprocessor">include</span> <a class="code" href="math_8h.html" title="Functions in math library for handling real numbers. ">"math.h"</a></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#</span><span class="preprocessor">ifdef</span> <span class="preprocessor">_WIN32</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#</span><span class="preprocessor">pragma</span> <span class="preprocessor">warning</span><span class="preprocessor">(</span> <span class="preprocessor">disable</span> <span class="preprocessor">:</span> 4146 <span class="preprocessor">)</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#</span><span class="preprocessor">endif</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="atanh_8c.html#ada85e349d35971b32c8ea4238881ff8b"> 51</a></span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">double</span> <a class="code" href="atanh_8c.html#ada85e349d35971b32c8ea4238881ff8b">one</a> = 1.0, <a class="code" href="atanh_8c.html#acbd466133274923cc0785707fbdeea9a">huge</a> = 1e300;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="atanh_8c.html#a548c77babcdf18ce7b6b96e73fb912cd"> 52</a></span> <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="atanh_8c.html#a548c77babcdf18ce7b6b96e73fb912cd">zero</a> = 0.0;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment">/**</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> * @brief Inverse hyperbolic tangent function.</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> * @version 1.3</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> * @date 95/01/18</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> * @details</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> * <pre></span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> * Method :</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> * 1.Reduced x to positive by atanh(-x) = -atanh(x)</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment"> * 2.For x>=0.5</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment"> * 1 2x x</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"> * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"> * 2 1 - x 1 - x</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> *</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"> * For x<0.5</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"> * atanh(x) = 0.5*log1p(2x+2x*x/(1-x))</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment"> *</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> * Special cases:</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> * atanh(x) is NaN if |x| > 1 with signal;</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> * atanh(NaN) is that NaN with no signal;</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> * atanh(+-1) is +-INF with signal.</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> * </pre></span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> * @copyright Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> * @license Developed at SunSoft, a Sun Microsystems, Inc. business. Permission</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> * to use, copy, modify, and distribute this software is freely granted,</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> * provided that this notice is preserved.</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> */</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="atanh_8c.html#ac07fd7b77fa341563abccf9efcc1a711"> 81</a></span> <span class="keywordtype">double</span> <a class="code" href="atanh_8c.html#ac07fd7b77fa341563abccf9efcc1a711">atanh</a>(<span class="keywordtype">double</span> x)</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordtype">double</span> t;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="real_2prim_8h.html#ae91287c8a5f73a8a22a100f50dc4de77">sword</a> hx,ix;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="real_2prim_8h.html#a6e60fe0e0f9f8801507e15fe2d893751">uword</a> lx;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="real_2prim_8h.html#ae62ee08d06ab4cc06d61dc1246b73195">GET_HIGH_WORD</a>(hx,x);</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="real_2prim_8h.html#adee023704c856ea8f310e8e3fd765a22">GET_LOW_WORD</a>(lx,x);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  ix = hx&0x7fffffff;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span> ((ix|((lx|(-lx))>>31))>0x3ff00000) <span class="comment">/* |x|>1 */</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> (x-x)/(x-x);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keywordflow">if</span>(ix==0x3ff00000)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> x/<a class="code" href="atanh_8c.html#a548c77babcdf18ce7b6b96e73fb912cd">zero</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">if</span>(ix<0x3e300000&&(<a class="code" href="atanh_8c.html#acbd466133274923cc0785707fbdeea9a">huge</a>+x)><a class="code" href="atanh_8c.html#a548c77babcdf18ce7b6b96e73fb912cd">zero</a>) <span class="keywordflow">return</span> x; <span class="comment">/* x<2**-28 */</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="real_2prim_8h.html#a6ca54776127e20149f84c290bf52f89e">SET_HIGH_WORD</a>(x, ix); <span class="comment">/* x <- |x| */</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">if</span>(ix<0x3fe00000) { <span class="comment">/* x < 0.5 */</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  t = x+x;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  t = 0.5*<a class="code" href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">log1p</a><a class="code" href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">(</a>t+t*x/(<a class="code" href="atanh_8c.html#ada85e349d35971b32c8ea4238881ff8b">one</a>-x)<a class="code" href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">)</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  } <span class="keywordflow">else</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  t = 0.5*<a class="code" href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">log1p</a><a class="code" href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">(</a>(x+x)/(<a class="code" href="atanh_8c.html#ada85e349d35971b32c8ea4238881ff8b">one</a>-x)<a class="code" href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">)</a>;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">if</span>(hx>=0) <span class="keywordflow">return</span> t;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordflow">else</span> <span class="keywordflow">return</span> -t;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> }</div><div class="ttc" id="real_2prim_8h_html_ae62ee08d06ab4cc06d61dc1246b73195"><div class="ttname"><a href="real_2prim_8h.html#ae62ee08d06ab4cc06d61dc1246b73195">GET_HIGH_WORD</a></div><div class="ttdeci">#define GET_HIGH_WORD(i, d)</div><div class="ttdoc">Get the more significant 32 bit int from a double. </div><div class="ttdef"><b>Definition:</b> <a href="real_2prim_8h_source.html#l00165">prim.h:165</a></div></div>
|
|
<div class="ttc" id="log1p_8c_html_ac2aac20ab1347498e6e4f209148fea84"><div class="ttname"><a href="log1p_8c.html#ac2aac20ab1347498e6e4f209148fea84">log1p</a></div><div class="ttdeci">double log1p(double x)</div><div class="ttdef"><b>Definition:</b> <a href="log1p_8c_source.html#l00125">log1p.c:125</a></div></div>
|
|
<div class="ttc" id="real_2prim_8h_html_adee023704c856ea8f310e8e3fd765a22"><div class="ttname"><a href="real_2prim_8h.html#adee023704c856ea8f310e8e3fd765a22">GET_LOW_WORD</a></div><div class="ttdeci">#define GET_LOW_WORD(i, d)</div><div class="ttdoc">Get the less significant 32 bit int from a double. </div><div class="ttdef"><b>Definition:</b> <a href="real_2prim_8h_source.html#l00176">prim.h:176</a></div></div>
|
|
<div class="ttc" id="real_2prim_8h_html_ae91287c8a5f73a8a22a100f50dc4de77"><div class="ttname"><a href="real_2prim_8h.html#ae91287c8a5f73a8a22a100f50dc4de77">sword</a></div><div class="ttdeci">signed int sword</div><div class="ttdoc">32 bit signed integer. </div><div class="ttdef"><b>Definition:</b> <a href="real_2prim_8h_source.html#l00107">prim.h:107</a></div></div>
|
|
<div class="ttc" id="atanh_8c_html_a548c77babcdf18ce7b6b96e73fb912cd"><div class="ttname"><a href="atanh_8c.html#a548c77babcdf18ce7b6b96e73fb912cd">zero</a></div><div class="ttdeci">static double zero</div><div class="ttdef"><b>Definition:</b> <a href="atanh_8c_source.html#l00052">atanh.c:52</a></div></div>
|
|
<div class="ttc" id="atanh_8c_html_ac07fd7b77fa341563abccf9efcc1a711"><div class="ttname"><a href="atanh_8c.html#ac07fd7b77fa341563abccf9efcc1a711">atanh</a></div><div class="ttdeci">double atanh(double x)</div><div class="ttdoc">Inverse hyperbolic tangent function. </div><div class="ttdef"><b>Definition:</b> <a href="atanh_8c_source.html#l00081">atanh.c:81</a></div></div>
|
|
<div class="ttc" id="real_2prim_8h_html_a6e60fe0e0f9f8801507e15fe2d893751"><div class="ttname"><a href="real_2prim_8h.html#a6e60fe0e0f9f8801507e15fe2d893751">uword</a></div><div class="ttdeci">unsigned int uword</div><div class="ttdoc">32 bit unsigned integer. </div><div class="ttdef"><b>Definition:</b> <a href="real_2prim_8h_source.html#l00101">prim.h:101</a></div></div>
|
|
<div class="ttc" id="atanh_8c_html_acbd466133274923cc0785707fbdeea9a"><div class="ttname"><a href="atanh_8c.html#acbd466133274923cc0785707fbdeea9a">huge</a></div><div class="ttdeci">static const double huge</div><div class="ttdef"><b>Definition:</b> <a href="atanh_8c_source.html#l00051">atanh.c:51</a></div></div>
|
|
<div class="ttc" id="atanh_8c_html_ada85e349d35971b32c8ea4238881ff8b"><div class="ttname"><a href="atanh_8c.html#ada85e349d35971b32c8ea4238881ff8b">one</a></div><div class="ttdeci">static const double one</div><div class="ttdef"><b>Definition:</b> <a href="atanh_8c_source.html#l00051">atanh.c:51</a></div></div>
|
|
<div class="ttc" id="real_2prim_8h_html_a6ca54776127e20149f84c290bf52f89e"><div class="ttname"><a href="real_2prim_8h.html#a6ca54776127e20149f84c290bf52f89e">SET_HIGH_WORD</a></div><div class="ttdeci">#define SET_HIGH_WORD(d, v)</div><div class="ttdoc">Set the more significant 32 bits of a double from an int. </div><div class="ttdef"><b>Definition:</b> <a href="real_2prim_8h_source.html#l00199">prim.h:199</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_97aefd0d527b934f1d99a682da8fe6a9.html">lib</a></li><li class="navelem"><a class="el" href="dir_ca194a09c7a767aed9138a74a7cf8e10.html">real</a></li><li class="navelem"><a class="el" href="atanh_8c.html">atanh.c</a></li>
|
|
<li class="footer">Generated by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|