| <!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.13"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>mxnet: /work/mxnet/3rdparty/dmlc-core/include/dmlc/strtonum.h File Reference</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="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> |
| <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">mxnet |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.13 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| </script> |
| <div id="main-nav"></div> |
| <!-- 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 id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_82e31a22178767beedddc7597fd1ecb6.html">dmlc-core</a></li><li class="navelem"><a class="el" href="dir_7dd5b88db83ff474628c03c453739a90.html">include</a></li><li class="navelem"><a class="el" href="dir_e30967e3ab51f65ad4b50dd298ccf4e7.html">dmlc</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#nested-classes">Classes</a> | |
| <a href="#namespaces">Namespaces</a> | |
| <a href="#func-members">Functions</a> | |
| <a href="#var-members">Variables</a> </div> |
| <div class="headertitle"> |
| <div class="title">strtonum.h File Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>A faster implementation of strtof and strtod. |
| <a href="#details">More...</a></p> |
| <div class="textblock"><code>#include <type_traits></code><br /> |
| <code>#include <string></code><br /> |
| <code>#include <limits></code><br /> |
| <code>#include <cstdint></code><br /> |
| <code>#include "<a class="el" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h_source.html">./base.h</a>"</code><br /> |
| <code>#include "./logging.h"</code><br /> |
| </div><div class="textblock"><div class="dynheader"> |
| Include dependency graph for strtonum.h:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="strtonum_8h__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2strtonum_8h" alt=""/></div> |
| <map name="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2strtonum_8h" id="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2strtonum_8h"> |
| <area shape="rect" id="node6" href="3rdparty_2dmlc-core_2include_2dmlc_2base_8h.html" title="./base.h" alt="" coords="347,109,420,136"/> |
| <area shape="rect" id="node10" href="build__config__default_8h.html" title="Default detection logic for fopen64 and other symbols. May be overriden by CMake. ..." alt="" coords="529,184,731,211"/> |
| </map> |
| </div> |
| </div><div class="textblock"><div class="dynheader"> |
| This graph shows which files directly or indirectly include this file:</div> |
| <div class="dyncontent"> |
| <div class="center"><img src="strtonum_8h__dep__incl.png" border="0" usemap="#_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2strtonum_8hdep" alt=""/></div> |
| <map name="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2strtonum_8hdep" id="_2work_2mxnet_23rdparty_2dmlc-core_2include_2dmlc_2strtonum_8hdep"> |
| <area shape="rect" id="node2" href="parameter_8h.html" title="Provide lightweight util to do parameter setup and checking. " alt="" coords="1981,109,2160,165"/> |
| <area shape="rect" id="node40" href="optimizer_8h.html" title="definition of optimizer " alt="" coords="2184,117,2408,158"/> |
| <area shape="rect" id="node3" href="3rdparty_2dmlc-core_2include_2dmlc_2registry_8h.html" title="/work/mxnet/3rdparty\l/dmlc-core/include/dmlc\l/registry.h" alt="" coords="2071,213,2249,269"/> |
| <area shape="rect" id="node14" href="operator__util_8h.html" title="Utility functions and registries to help quickly build new operators. [Deprecated] Use the register f..." alt="" coords="2069,1507,2235,1548"/> |
| <area shape="rect" id="node23" href="include_2mxnet_2base_8h.html" title="/work/mxnet/include\l/mxnet/base.h" alt="" coords="1264,1045,1419,1087"/> |
| <area shape="rect" id="node35" href="op_8h.html" title="Operator information structor. " alt="" coords="514,429,731,470"/> |
| <area shape="rect" id="node38" href="layout_8h.html" title="Layout expression. The layout is composed of upper cases, lower cases and numbers, where upper case indicates a (super-)dimension and the corresponding lower case with factor size indicates the split (sub-)dimension. For example, NCHW16c can describe a 5-D tensor of [batch_size, channel, height, width, channel_block]. Here sub-dimension channel_block=16 is the split of super-dimension C (channel). " alt="" coords="43,525,229,581"/> |
| <area shape="rect" id="node39" href="cuda__utils_8h.html" title="Common CUDA utilities. " alt="" coords="2502,221,2690,262"/> |
| <area shape="rect" id="node4" href="data_8h.html" title="defines common input data structure, and interface for handling the input data " alt="" coords="2071,317,2249,373"/> |
| <area shape="rect" id="node6" href="include_2mxnet_2io_8h.html" title="/work/mxnet/include\l/mxnet/io.h" alt="" coords="1893,1321,2048,1362"/> |
| <area shape="rect" id="node7" href="include_2mxnet_2ndarray_8h.html" title="/work/mxnet/include\l/mxnet/ndarray.h" alt="" coords="1264,1224,1419,1265"/> |
| <area shape="rect" id="node13" href="include_2mxnet_2operator_8h.html" title="/work/mxnet/include\l/mxnet/operator.h" alt="" coords="1843,1417,1997,1459"/> |
| <area shape="rect" id="node20" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2base_8h.html" title="Configuration of nnvm as well as basic data structure. " alt="" coords="677,317,862,373"/> |
| <area shape="rect" id="node5" href="threadediter_8h.html" title="thread backed iterator that can be used to implement general thread-based pipeline such as prefetch a..." alt="" coords="2045,421,2224,477"/> |
| <area shape="rect" id="node8" href="packed__func_8h.html" title="Type-erased function used across MXNET API. " alt="" coords="1486,1313,1661,1369"/> |
| <area shape="rect" id="node11" href="include_2mxnet_2executor_8h.html" title="/work/mxnet/include\l/mxnet/executor.h" alt="" coords="1728,1507,1883,1548"/> |
| <area shape="rect" id="node12" href="include_2mxnet_2op__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/op_attr_types.h" alt="" coords="721,1321,895,1362"/> |
| <area shape="rect" id="node16" href="imperative_8h.html" title="/work/mxnet/include\l/mxnet/imperative.h" alt="" coords="753,1507,908,1548"/> |
| <area shape="rect" id="node17" href="utils_8h.html" title="Basic utilility functions. " alt="" coords="597,1596,785,1637"/> |
| <area shape="rect" id="node19" href="include_2mxnet_2kvstore_8h.html" title="/work/mxnet/include\l/mxnet/kvstore.h" alt="" coords="1149,1321,1304,1362"/> |
| <area shape="rect" id="node9" href="include_2mxnet_2runtime_2registry_8h.html" title="/work/mxnet/include\l/mxnet/runtime/registry.h" alt="" coords="1480,1417,1667,1459"/> |
| <area shape="rect" id="node10" href="api__registry_8h.html" title="This file contains utilities related to the MXNet's global function registry. " alt="" coords="1494,1507,1653,1548"/> |
| <area shape="rect" id="node15" href="include_2mxnet_2graph__attr__types_8h.html" title="/work/mxnet/include\l/mxnet/graph_attr_types.h" alt="" coords="703,1417,897,1459"/> |
| <area shape="rect" id="node18" href="exec__utils_8h.html" title="Common utility functions for executors. " alt="" coords="597,1685,785,1727"/> |
| <area shape="rect" id="node21" href="graph_8h.html" title="Configuation of nnvm as well as basic data structure. " alt="" coords="963,733,1149,789"/> |
| <area shape="rect" id="node30" href="pass_8h.html" title="Pass that can be applied to a graph. " alt="" coords="651,837,837,893"/> |
| <area shape="rect" id="node31" href="pass__functions_8h.html" title="Pass functions that simply redirect the calls to ApplyPass. " alt="" coords="129,941,314,997"/> |
| <area shape="rect" id="node32" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2node_8h.html" title="Graph node data structure. " alt="" coords="794,525,979,581"/> |
| <area shape="rect" id="node33" href="symbolic_8h.html" title="Symbolic graph construction API. " alt="" coords="925,629,1110,685"/> |
| <area shape="rect" id="node34" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2op__attr__types_8h.html" title="Data structures that can appear in operator attributes. " alt="" coords="303,629,489,685"/> |
| <area shape="rect" id="node36" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="253,525,438,581"/> |
| <area shape="rect" id="node22" href="include_2mxnet_2tuple_8h.html" title="Data structure Tuple and TShape to store dynamic sized shapes. " alt="" coords="541,949,696,990"/> |
| <area shape="rect" id="node24" href="engine_8h.html" title="Engine that schedules all the operations according to dependency. " alt="" coords="693,1135,848,1176"/> |
| <area shape="rect" id="node25" href="resource_8h.html" title="Global resource allocation handling. " alt="" coords="896,1224,1051,1265"/> |
| <area shape="rect" id="node26" href="storage_8h.html" title="Storage manager across multiple devices. " alt="" coords="1149,1135,1304,1176"/> |
| <area shape="rect" id="node27" href="random__generator_8h.html" title="Parallel random number generator. " alt="" coords="872,1135,1075,1176"/> |
| <area shape="rect" id="node28" href="rtc_8h.html" title="/work/mxnet/include\l/mxnet/rtc.h" alt="" coords="1379,1135,1533,1176"/> |
| <area shape="rect" id="node29" href="tensor__blob_8h.html" title="TBlob class that holds common representation of arbirary dimension tensor, can be used to transformed..." alt="" coords="1557,1135,1717,1176"/> |
| <area shape="rect" id="node37" href="3rdparty_2tvm_2nnvm_2include_2nnvm_2graph__attr__types_8h.html" title="Data structures that can appear in graph attributes. " alt="" coords="173,837,358,893"/> |
| </map> |
| </div> |
| </div> |
| <p><a href="strtonum_8h_source.html">Go to the source code of this file.</a></p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> |
| Classes</h2></td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T.html">dmlc::Str2T< T ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Interface class that defines a single method <a class="el" href="classdmlc_1_1Str2T.html#aca32f0e0494f795c76ba5447671045c4" title="Convert a string into type T. ">get()</a> to convert a string into type T. Define template specialization of this class to define the conversion method for a particular type. <a href="classdmlc_1_1Str2T.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T_3_01int32__t_01_4.html">dmlc::Str2T< int32_t ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Template specialization of Str2T<> interface for signed 32-bit integer. <a href="classdmlc_1_1Str2T_3_01int32__t_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T_3_01uint32__t_01_4.html">dmlc::Str2T< uint32_t ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Template specialization of Str2T<> interface for unsigned 32-bit integer. <a href="classdmlc_1_1Str2T_3_01uint32__t_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T_3_01int64__t_01_4.html">dmlc::Str2T< int64_t ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Template specialization of Str2T<> interface for signed 64-bit integer. <a href="classdmlc_1_1Str2T_3_01int64__t_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T_3_01uint64__t_01_4.html">dmlc::Str2T< uint64_t ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Template specialization of Str2T<> interface for unsigned 64-bit integer. <a href="classdmlc_1_1Str2T_3_01uint64__t_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T_3_01float_01_4.html">dmlc::Str2T< float ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Template specialization of Str2T<> interface for float type. <a href="classdmlc_1_1Str2T_3_01float_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classdmlc_1_1Str2T_3_01double_01_4.html">dmlc::Str2T< double ></a></td></tr> |
| <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Template specialization of Str2T<> interface for double type. <a href="classdmlc_1_1Str2T_3_01double_01_4.html#details">More...</a><br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a> |
| Namespaces</h2></td></tr> |
| <tr class="memitem:namespacedmlc"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html">dmlc</a></td></tr> |
| <tr class="memdesc:namespacedmlc"><td class="mdescLeft"> </td><td class="mdescRight">namespace for dmlc <br /></td></tr> |
| <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| Functions</h2></td></tr> |
| <tr class="memitem:a52dcf01c9ba22be9b08e455194fb2ab3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a52dcf01c9ba22be9b08e455194fb2ab3">dmlc::isspace</a> (char c)</td></tr> |
| <tr class="memdesc:a52dcf01c9ba22be9b08e455194fb2ab3"><td class="mdescLeft"> </td><td class="mdescRight">Inline implementation of <a class="el" href="namespacedmlc.html#a52dcf01c9ba22be9b08e455194fb2ab3" title="Inline implementation of isspace(). Tests whether the given character is a whitespace letter...">isspace()</a>. Tests whether the given character is a whitespace letter. <a href="namespacedmlc.html#a52dcf01c9ba22be9b08e455194fb2ab3">More...</a><br /></td></tr> |
| <tr class="separator:a52dcf01c9ba22be9b08e455194fb2ab3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a382379acc79620379a9f7ee29ad5caaf"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a382379acc79620379a9f7ee29ad5caaf">dmlc::isblank</a> (char c)</td></tr> |
| <tr class="memdesc:a382379acc79620379a9f7ee29ad5caaf"><td class="mdescLeft"> </td><td class="mdescRight">Inline implementation of <a class="el" href="namespacedmlc.html#a382379acc79620379a9f7ee29ad5caaf" title="Inline implementation of isblank(). Tests whether the given character is a space or tab character...">isblank()</a>. Tests whether the given character is a space or tab character. <a href="namespacedmlc.html#a382379acc79620379a9f7ee29ad5caaf">More...</a><br /></td></tr> |
| <tr class="separator:a382379acc79620379a9f7ee29ad5caaf"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5dab1c816301d0261e96d002ab157d3a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a5dab1c816301d0261e96d002ab157d3a">dmlc::isdigit</a> (char c)</td></tr> |
| <tr class="memdesc:a5dab1c816301d0261e96d002ab157d3a"><td class="mdescLeft"> </td><td class="mdescRight">Inline implementation of <a class="el" href="namespacedmlc.html#a5dab1c816301d0261e96d002ab157d3a" title="Inline implementation of isdigit(). Tests whether the given character is a decimal digit...">isdigit()</a>. Tests whether the given character is a decimal digit. <a href="namespacedmlc.html#a5dab1c816301d0261e96d002ab157d3a">More...</a><br /></td></tr> |
| <tr class="separator:a5dab1c816301d0261e96d002ab157d3a"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8234006cb1d67dcba5f9f856fe805c19"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a8234006cb1d67dcba5f9f856fe805c19">dmlc::isalpha</a> (char c)</td></tr> |
| <tr class="memdesc:a8234006cb1d67dcba5f9f856fe805c19"><td class="mdescLeft"> </td><td class="mdescRight">Inline implementation of <a class="el" href="namespacedmlc.html#a8234006cb1d67dcba5f9f856fe805c19" title="Inline implementation of isalpha(). Tests whether the given character is an alphabet letter...">isalpha()</a>. Tests whether the given character is an alphabet letter. <a href="namespacedmlc.html#a8234006cb1d67dcba5f9f856fe805c19">More...</a><br /></td></tr> |
| <tr class="separator:a8234006cb1d67dcba5f9f856fe805c19"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aadc240ae898cb7f29bd88c5bd96bd3cb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#aadc240ae898cb7f29bd88c5bd96bd3cb">dmlc::isdigitchars</a> (char c)</td></tr> |
| <tr class="memdesc:aadc240ae898cb7f29bd88c5bd96bd3cb"><td class="mdescLeft"> </td><td class="mdescRight">Tests whether the given character is a valid letter in the string representation of a floating-point value, i.e. decimal digits, signs (+/-), decimal point (.), or exponent marker (e/E). <a href="namespacedmlc.html#aadc240ae898cb7f29bd88c5bd96bd3cb">More...</a><br /></td></tr> |
| <tr class="separator:aadc240ae898cb7f29bd88c5bd96bd3cb"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ade80237502ab5ae86b9c1454a09c66ee"><td class="memTemplParams" colspan="2">template<typename FloatType , bool CheckRange = false> </td></tr> |
| <tr class="memitem:ade80237502ab5ae86b9c1454a09c66ee"><td class="memTemplItemLeft" align="right" valign="top">FloatType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#ade80237502ab5ae86b9c1454a09c66ee">dmlc::ParseFloat</a> (const char *nptr, char **endptr)</td></tr> |
| <tr class="memdesc:ade80237502ab5ae86b9c1454a09c66ee"><td class="mdescLeft"> </td><td class="mdescRight">Common implementation for <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">dmlc::strtof()</a> and <a class="el" href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e" title="A faster implementation of strtod(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtod_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">dmlc::strtod()</a> TODO: the current version does not support hex number. <a href="namespacedmlc.html#ade80237502ab5ae86b9c1454a09c66ee">More...</a><br /></td></tr> |
| <tr class="separator:ade80237502ab5ae86b9c1454a09c66ee"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a93c2c8f7859b02cecb9c094cddd91af9"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9">dmlc::strtof</a> (const char *nptr, char **endptr)</td></tr> |
| <tr class="memdesc:a93c2c8f7859b02cecb9c094cddd91af9"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">strtof()</a>. See documentation of <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">std::strtof()</a> for more information. Note that this function does not check for overflow. Use <a class="el" href="namespacedmlc.html#a3717fca311a75301eedca7e77e744459" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. This function will check for overflow. If the converted value is outside the range for the float type, errno is set to ERANGE and HUGE_VALF is returned. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">strtof_check_range()</a> to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9">More...</a><br /></td></tr> |
| <tr class="separator:a93c2c8f7859b02cecb9c094cddd91af9"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a3717fca311a75301eedca7e77e744459"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a3717fca311a75301eedca7e77e744459">dmlc::strtof_check_range</a> (const char *nptr, char **endptr)</td></tr> |
| <tr class="memdesc:a3717fca311a75301eedca7e77e744459"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">strtof()</a>. See documentation of <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">std::strtof()</a> for more information. This function will check for overflow. If the converted value is outside the range for the float type, errno is set to ERANGE and HUGE_VALF is returned. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#a3717fca311a75301eedca7e77e744459">More...</a><br /></td></tr> |
| <tr class="separator:a3717fca311a75301eedca7e77e744459"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a345b262c3cbb6d700c22c4d69d46db6e"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e">dmlc::strtod</a> (const char *nptr, char **endptr)</td></tr> |
| <tr class="memdesc:a345b262c3cbb6d700c22c4d69d46db6e"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e" title="A faster implementation of strtod(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtod_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">strtod()</a>. See documentation of <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">std::strtof()</a> for more information. Note that this function does not check for overflow. Use <a class="el" href="namespacedmlc.html#abd212a404ead6ae94faa2b65b4af796d" title="A faster implementation of strtod(). See documentation of std::strtod() for more information. This function will check for overflow. If the converted value is outside the range for the double type, errno is set to ERANGE and HUGE_VAL is returned. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">strtod_check_range()</a> to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e">More...</a><br /></td></tr> |
| <tr class="separator:a345b262c3cbb6d700c22c4d69d46db6e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:abd212a404ead6ae94faa2b65b4af796d"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#abd212a404ead6ae94faa2b65b4af796d">dmlc::strtod_check_range</a> (const char *nptr, char **endptr)</td></tr> |
| <tr class="memdesc:abd212a404ead6ae94faa2b65b4af796d"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e" title="A faster implementation of strtod(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtod_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">strtod()</a>. See documentation of <a class="el" href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e" title="A faster implementation of strtod(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtod_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">std::strtod()</a> for more information. This function will check for overflow. If the converted value is outside the range for the double type, errno is set to ERANGE and HUGE_VAL is returned. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#abd212a404ead6ae94faa2b65b4af796d">More...</a><br /></td></tr> |
| <tr class="separator:abd212a404ead6ae94faa2b65b4af796d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:abe766bbcae14a7ff2720bb248cca0db9"><td class="memTemplParams" colspan="2">template<typename SignedIntType > </td></tr> |
| <tr class="memitem:abe766bbcae14a7ff2720bb248cca0db9"><td class="memTemplItemLeft" align="right" valign="top">SignedIntType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#abe766bbcae14a7ff2720bb248cca0db9">dmlc::ParseSignedInt</a> (const char *nptr, char **endptr, int base)</td></tr> |
| <tr class="memdesc:abe766bbcae14a7ff2720bb248cca0db9"><td class="mdescLeft"> </td><td class="mdescRight">A fast string-to-integer convertor, for signed integers TODO: the current version supports only base <= 10. <a href="namespacedmlc.html#abe766bbcae14a7ff2720bb248cca0db9">More...</a><br /></td></tr> |
| <tr class="separator:abe766bbcae14a7ff2720bb248cca0db9"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae5d2f93a1b7b7683df3c674e0c3d1863"><td class="memTemplParams" colspan="2">template<typename UnsignedIntType > </td></tr> |
| <tr class="memitem:ae5d2f93a1b7b7683df3c674e0c3d1863"><td class="memTemplItemLeft" align="right" valign="top">UnsignedIntType </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#ae5d2f93a1b7b7683df3c674e0c3d1863">dmlc::ParseUnsignedInt</a> (const char *nptr, char **endptr, int base)</td></tr> |
| <tr class="memdesc:ae5d2f93a1b7b7683df3c674e0c3d1863"><td class="mdescLeft"> </td><td class="mdescRight">A fast string-to-integer convertor, for unsigned integers TODO: the current version supports only base <= 10. <a href="namespacedmlc.html#ae5d2f93a1b7b7683df3c674e0c3d1863">More...</a><br /></td></tr> |
| <tr class="separator:ae5d2f93a1b7b7683df3c674e0c3d1863"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac63dcf48b6a8ec204720a121f01477e9"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#ac63dcf48b6a8ec204720a121f01477e9">dmlc::strtoull</a> (const char *nptr, char **endptr, int base)</td></tr> |
| <tr class="memdesc:ac63dcf48b6a8ec204720a121f01477e9"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#ac63dcf48b6a8ec204720a121f01477e9" title="A faster implementation of strtoull(). See documentation of std::strtoull() for more information...">strtoull()</a>. See documentation of <a class="el" href="namespacedmlc.html#ac63dcf48b6a8ec204720a121f01477e9" title="A faster implementation of strtoull(). See documentation of std::strtoull() for more information...">std::strtoull()</a> for more information. Note that this function does not check for overflow. TODO: the current version supports only base <= 10. <a href="namespacedmlc.html#ac63dcf48b6a8ec204720a121f01477e9">More...</a><br /></td></tr> |
| <tr class="separator:ac63dcf48b6a8ec204720a121f01477e9"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a46a57f902842152f71261ab44e887017"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a46a57f902842152f71261ab44e887017">dmlc::atol</a> (const char *p)</td></tr> |
| <tr class="memdesc:a46a57f902842152f71261ab44e887017"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a46a57f902842152f71261ab44e887017" title="A faster implementation of atol(). See documentation of std::atol() for more information. This function will use base 10. Note that this function does not check for overflow. ">atol()</a>. See documentation of <a class="el" href="namespacedmlc.html#a46a57f902842152f71261ab44e887017" title="A faster implementation of atol(). See documentation of std::atol() for more information. This function will use base 10. Note that this function does not check for overflow. ">std::atol()</a> for more information. This function will use base 10. Note that this function does not check for overflow. <a href="namespacedmlc.html#a46a57f902842152f71261ab44e887017">More...</a><br /></td></tr> |
| <tr class="separator:a46a57f902842152f71261ab44e887017"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a4c6820d1e6705361c263364b709d15a8"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a4c6820d1e6705361c263364b709d15a8">dmlc::atof</a> (const char *nptr)</td></tr> |
| <tr class="memdesc:a4c6820d1e6705361c263364b709d15a8"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a4c6820d1e6705361c263364b709d15a8" title="A faster implementation of atof(). Unlike std::atof(), this function returns float type...">atof()</a>. Unlike <a class="el" href="namespacedmlc.html#a4c6820d1e6705361c263364b709d15a8" title="A faster implementation of atof(). Unlike std::atof(), this function returns float type...">std::atof()</a>, this function returns float type. Note that this function does not check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#a4c6820d1e6705361c263364b709d15a8">More...</a><br /></td></tr> |
| <tr class="separator:a4c6820d1e6705361c263364b709d15a8"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a43a149fb880b527d393975a884255341"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a43a149fb880b527d393975a884255341">dmlc::stof</a> (const std::string &value, size_t *pos=nullptr)</td></tr> |
| <tr class="memdesc:a43a149fb880b527d393975a884255341"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a43a149fb880b527d393975a884255341" title="A faster implementation of stof(). See documentation of std::stof() for more information. This function will test for overflow and invalid arguments. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">stof()</a>. See documentation of <a class="el" href="namespacedmlc.html#a43a149fb880b527d393975a884255341" title="A faster implementation of stof(). See documentation of std::stof() for more information. This function will test for overflow and invalid arguments. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">std::stof()</a> for more information. This function will test for overflow and invalid arguments. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#a43a149fb880b527d393975a884255341">More...</a><br /></td></tr> |
| <tr class="separator:a43a149fb880b527d393975a884255341"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5f49479b0736b8709986ead800e1bfdc"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a5f49479b0736b8709986ead800e1bfdc">dmlc::stod</a> (const std::string &value, size_t *pos=nullptr)</td></tr> |
| <tr class="memdesc:a5f49479b0736b8709986ead800e1bfdc"><td class="mdescLeft"> </td><td class="mdescRight">A faster implementation of <a class="el" href="namespacedmlc.html#a5f49479b0736b8709986ead800e1bfdc" title="A faster implementation of stod(). See documentation of std::stod() for more information. This function will test for overflow and invalid arguments. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">stod()</a>. See documentation of <a class="el" href="namespacedmlc.html#a5f49479b0736b8709986ead800e1bfdc" title="A faster implementation of stod(). See documentation of std::stod() for more information. This function will test for overflow and invalid arguments. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">std::stod()</a> for more information. This function will test for overflow and invalid arguments. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. <a href="namespacedmlc.html#a5f49479b0736b8709986ead800e1bfdc">More...</a><br /></td></tr> |
| <tr class="separator:a5f49479b0736b8709986ead800e1bfdc"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a890c9ebefc22941afb32fd849b1b3a3f"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| <tr class="memitem:a890c9ebefc22941afb32fd849b1b3a3f"><td class="memTemplItemLeft" align="right" valign="top">T </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a890c9ebefc22941afb32fd849b1b3a3f">dmlc::Str2Type</a> (const char *begin, const char *end)</td></tr> |
| <tr class="memdesc:a890c9ebefc22941afb32fd849b1b3a3f"><td class="mdescLeft"> </td><td class="mdescRight">Convenience function for converting string into type T. <a href="namespacedmlc.html#a890c9ebefc22941afb32fd849b1b3a3f">More...</a><br /></td></tr> |
| <tr class="separator:a890c9ebefc22941afb32fd849b1b3a3f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac1bd2f744b450d3a7a06fd4e4276f667"><td class="memTemplParams" colspan="2">template<typename T1 , typename T2 > </td></tr> |
| <tr class="memitem:ac1bd2f744b450d3a7a06fd4e4276f667"><td class="memTemplItemLeft" align="right" valign="top">int </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#ac1bd2f744b450d3a7a06fd4e4276f667">dmlc::ParsePair</a> (const char *begin, const char *end, const char **endptr, T1 &v1, T2 &v2)</td></tr> |
| <tr class="memdesc:ac1bd2f744b450d3a7a06fd4e4276f667"><td class="mdescLeft"> </td><td class="mdescRight">Parse colon seperated pair v1[:v2]. <a href="namespacedmlc.html#ac1bd2f744b450d3a7a06fd4e4276f667">More...</a><br /></td></tr> |
| <tr class="separator:ac1bd2f744b450d3a7a06fd4e4276f667"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ade27d0fd3a6c3e57a64e225a78e56ced"><td class="memTemplParams" colspan="2">template<typename T1 , typename T2 , typename T3 > </td></tr> |
| <tr class="memitem:ade27d0fd3a6c3e57a64e225a78e56ced"><td class="memTemplItemLeft" align="right" valign="top">int </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#ade27d0fd3a6c3e57a64e225a78e56ced">dmlc::ParseTriple</a> (const char *begin, const char *end, const char **endptr, T1 &v1, T2 &v2, T3 &v3)</td></tr> |
| <tr class="memdesc:ade27d0fd3a6c3e57a64e225a78e56ced"><td class="mdescLeft"> </td><td class="mdescRight">Parse colon seperated triple v1:v2[:v3]. <a href="namespacedmlc.html#ade27d0fd3a6c3e57a64e225a78e56ced">More...</a><br /></td></tr> |
| <tr class="separator:ade27d0fd3a6c3e57a64e225a78e56ced"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> |
| Variables</h2></td></tr> |
| <tr class="memitem:a7e6f99de792eaca82bdf6189ba6e0d77"><td class="memItemLeft" align="right" valign="top">const int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedmlc.html#a7e6f99de792eaca82bdf6189ba6e0d77">dmlc::kStrtofMaxDigits</a> = 19</td></tr> |
| <tr class="memdesc:a7e6f99de792eaca82bdf6189ba6e0d77"><td class="mdescLeft"> </td><td class="mdescRight">Maximum number of decimal digits <a class="el" href="namespacedmlc.html#a93c2c8f7859b02cecb9c094cddd91af9" title="A faster implementation of strtof(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtof_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">dmlc::strtof()</a> / <a class="el" href="namespacedmlc.html#a345b262c3cbb6d700c22c4d69d46db6e" title="A faster implementation of strtod(). See documentation of std::strtof() for more information. Note that this function does not check for overflow. Use strtod_check_range() to check for overflow. TODO: the current version does not support hex number TODO: the current version does not handle long decimals: you may only have up to 19 digits after the decimal point, and you cannot have too many digits before the decimal point either. ">dmlc::strtod()</a> will process. Trailing digits will be ignored. <a href="namespacedmlc.html#a7e6f99de792eaca82bdf6189ba6e0d77">More...</a><br /></td></tr> |
| <tr class="separator:a7e6f99de792eaca82bdf6189ba6e0d77"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>A faster implementation of strtof and strtod. </p> |
| <p>Copyright (c) 2015-2018 by Contributors </p> |
| </div></div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Thu Jan 5 2023 00:58:42 for mxnet by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.13 |
| </small></address> |
| </body> |
| </html> |