2020-09-02 09:42:51 +02:00
<!-- HTML header for doxygen 1.8.18 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" / >
2021-01-26 11:28:50 +01:00
< meta name = "generator" content = "Doxygen 1.9.1" / >
2020-09-02 09:42:51 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > OR-Tools: saturated_arithmetic.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 = "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 >
< 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" / >
< link href = "styleSheet.tmp.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 = "projectlogo" > < img alt = "Logo" src = "orLogo.png" / > < / td >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > OR-Tools
2021-01-26 11:28:50 +01:00
  < span id = "projectnumber" > 8.2< / span >
2020-09-02 09:42:51 +02:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2021-01-26 11:28:50 +01:00
<!-- Generated by Doxygen 1.9.1 -->
2020-09-02 09:42:51 +02:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
2021-01-26 11:28:50 +01:00
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
2020-09-02 09:42:51 +02:00
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / 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" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('saturated__arithmetic_8h.html',''); initResizable(); });
/* @license-end */
< / 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 = "summary" >
< a href = "#namespaces" > Namespaces< / a > |
< a href = "#func-members" > Functions< / a > < / div >
< div class = "headertitle" >
< div class = "title" > saturated_arithmetic.h File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< p > < a href = "saturated__arithmetic_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 = "namespaces" > < / a >
Namespaces< / h2 > < / td > < / tr >
< tr class = "memitem:namespaceoperations__research" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html" > operations_research< / a > < / td > < / tr >
< tr class = "memdesc:namespaceoperations__research" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The vehicle routing library lets one model and solve generic vehicle routing problems ranging from the Traveling Salesman Problem to more complex problems such as the Capacitated Vehicle Routing Problem with Time Windows. < br / > < / td > < / tr >
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:namespaceoperations__research_1_1cap__prod__util" > < td class = "memItemLeft" align = "right" valign = "top" >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1cap__prod__util.html" > operations_research::cap_prod_util< / a > < / 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:a7765571e7ec374ba667a3ccd16dcd124" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a7765571e7ec374ba667a3ccd16dcd124" > TwosComplementAddition< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a7765571e7ec374ba667a3ccd16dcd124" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a2510acb08f15d9d639b286e91dfae6f2" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a2510acb08f15d9d639b286e91dfae6f2" > TwosComplementSubtraction< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a2510acb08f15d9d639b286e91dfae6f2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa1a2e7e0cdde05b5ef898461b90eede0" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#aa1a2e7e0cdde05b5ef898461b90eede0" > AddHadOverflow< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > sum)< / td > < / tr >
< tr class = "separator:aa1a2e7e0cdde05b5ef898461b90eede0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5fd04dbb1346d8877b5ed54aa291ffbc" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a5fd04dbb1346d8877b5ed54aa291ffbc" > SubHadOverflow< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > diff)< / td > < / tr >
< tr class = "separator:a5fd04dbb1346d8877b5ed54aa291ffbc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af85f78b7f431f22bf062f8df29e9b41f" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#af85f78b7f431f22bf062f8df29e9b41f" > AddOverflows< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:af85f78b7f431f22bf062f8df29e9b41f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5a78d7de748c8b1aa1bc9f00c5e59f17" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a5a78d7de748c8b1aa1bc9f00c5e59f17" > SubOverflows< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a5a78d7de748c8b1aa1bc9f00c5e59f17" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae1bd0133149b70b678b123524541aaad" > < td class = "memTemplParams" colspan = "2" > template< typename IntegerType > < / td > < / tr >
< tr class = "memitem:ae1bd0133149b70b678b123524541aaad" > < td class = "memTemplItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memTemplItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#ae1bd0133149b70b678b123524541aaad" > SafeAddInto< / a > (IntegerType < a class = "el" href = "constraint__solver_2table_8cc.html#af730895c6c6ef6e03caaf6251192dfd2" > a< / a > , IntegerType *< a class = "el" href = "constraint__solver_2table_8cc.html#a344010e26426d6a13411648d988bc9b6" > b< / a > )< / td > < / tr >
< tr class = "separator:ae1bd0133149b70b678b123524541aaad" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a29f503f49388eeb29b06c6423d0aaeb6" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a29f503f49388eeb29b06c6423d0aaeb6" > CapWithSignOf< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x)< / td > < / tr >
< tr class = "separator:a29f503f49388eeb29b06c6423d0aaeb6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a974e8ea7651bd25ff7edf9b1c33393a4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a974e8ea7651bd25ff7edf9b1c33393a4" > CapAddGeneric< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a974e8ea7651bd25ff7edf9b1c33393a4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a99264812cf177270e521f226a5c012c3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a99264812cf177270e521f226a5c012c3" > CapAdd< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a99264812cf177270e521f226a5c012c3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a43c47f9b8343b3ebf98671abffdd0f9a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a43c47f9b8343b3ebf98671abffdd0f9a" > CapSubGeneric< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a43c47f9b8343b3ebf98671abffdd0f9a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a228fe84d99348c2b62bb4f70a6371d9b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a228fe84d99348c2b62bb4f70a6371d9b" > CapSub< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a228fe84d99348c2b62bb4f70a6371d9b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a8641e02da1d67eaa03fb37b66834a775" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a8641e02da1d67eaa03fb37b66834a775" > CapOpp< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > v)< / td > < / tr >
< tr class = "separator:a8641e02da1d67eaa03fb37b66834a775" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad44bdae4de79b78925cbf0fafaff273c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#abc0f5bc07737e498f287334775dff2b6" > uint64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research_1_1cap__prod__util.html#ad44bdae4de79b78925cbf0fafaff273c" > uint_abs< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > n)< / td > < / tr >
< tr class = "separator:ad44bdae4de79b78925cbf0fafaff273c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a20add29e703b41d64b8a01127aab2497" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#a20add29e703b41d64b8a01127aab2497" > CapProdGeneric< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:a20add29e703b41d64b8a01127aab2497" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab216763dccd16f5060d2fbcfb08173fb" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "namespaceoperations__research.html#ab216763dccd16f5060d2fbcfb08173fb" > CapProd< / a > (< a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > x, < a class = "el" href = "integral__types_8h.html#a7cde0074dfd288f2d70c0e035dacb28a" > int64< / a > y)< / td > < / tr >
< tr class = "separator:ab216763dccd16f5060d2fbcfb08173fb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.18 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_a7cc1eeded8f693d0da6c729bc88c45a.html" > ortools< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_a3328a0ea67a2aaa160c2783ffbaa5dc.html" > util< / a > < / li > < li class = "navelem" > < a class = "el" href = "saturated__arithmetic_8h.html" > saturated_arithmetic.h< / a > < / li >
< li class = "footer" > Generated by
< a href = "http://www.doxygen.org/index.html" >
2021-01-26 11:28:50 +01:00
< img class = "footer" src = "doxygen.png" alt = "doxygen" / > < / a > 1.9.1 < / li >
2020-09-02 09:42:51 +02:00
< / ul >
< / div >
< / body >
< / html >