/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/gdpopt/ |
H A D | nlp_solve.py | 416 rounded_val = int(round(val)) 417 if (fabs(val - rounded_val) > config.integer_tolerance or 418 rounded_val not in (0, 1)): 426 disj.indicator_var.fix(bool(rounded_val)) 436 rounded_val = int(round(val)) 445 var.fix(rounded_val) 485 rounded_val = int(round(val)) 487 rounded_val not in (0, 1)): 495 disj.indicator_var.fix(bool(rounded_val)) 505 rounded_val = int(round(val)) [all …]
|
H A D | util.py | 220 rounded_val = int(round(var_val)) 225 …elif v_to.is_integer() and (fabs(var_val - rounded_val) <= config.integer_tolerance): # not v_to.… 226 v_to.set_value(rounded_val)
|
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/utils/ |
H A D | unit_util.py | 197 i, rounded_val = _RoundToNearestExponent(num) 198 return '%g %s' % (rounded_val, _EXP_STRINGS[i][2]) 210 i, rounded_val = _RoundToNearestExponent(num) 211 return '%g %s' % (rounded_val, _EXP_STRINGS[i][1])
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/utils/ |
H A D | unit_util.py | 197 i, rounded_val = _RoundToNearestExponent(num) 198 return '%g %s' % (rounded_val, _EXP_STRINGS[i][2]) 210 i, rounded_val = _RoundToNearestExponent(num) 211 return '%g %s' % (rounded_val, _EXP_STRINGS[i][1])
|
/dports/math/py-Pyomo/Pyomo-6.1.2/pyomo/contrib/mindtpy/ |
H A D | single_tree.py | 74 rounded_val = int(round(v_val)) 75 … if (ignore_integrality or fabs(v_val - rounded_val) <= config.integer_tolerance) \ 76 and rounded_val in v_to.domain: 77 v_to.set_value(rounded_val)
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/ |
H A D | util.py | 863 i, rounded_val = _RoundToNearestExponent(num) 864 return '%g %s' % (rounded_val, _EXP_STRINGS[i][1]) 876 i, rounded_val = _RoundToNearestExponent(num) 877 return '%g %s' % (rounded_val, _EXP_STRINGS[i][2])
|
/dports/devel/boost-docs/boost_1_72_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/devel/R-cran-BH/BH/inst/include/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/games/frogatto/frogatto-1.3.1/MacOSJet/boost/include/boost/polygon/ |
H A D | polygon_set_data.hpp | 24 T rounded_val = (T)(val); in round_down() local 25 if(val < (double)rounded_val) in round_down() 26 --rounded_val; in round_down() 27 return rounded_val; in round_down()
|
/dports/databases/percona57-server/boost_1_59_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/databases/xtrabackup/boost_1_59_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/databases/percona57-client/boost_1_59_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/boost-for-react-native/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/devel/boost-libs/boost_1_72_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/devel/boost-python-libs/boost_1_72_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/databases/mysql57-client/mysql-5.7.36/boost/boost_1_59_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/devel/hyperscan/boost_1_75_0/boost/polygon/ |
H A D | polygon_set_data.hpp | 23 T rounded_val = (T)(val); in round_down() local 24 if(val < (double)rounded_val) in round_down() 25 --rounded_val; in round_down() 26 return rounded_val; in round_down()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/mkldnn/src/cpu/x64/gemm/ |
H A D | gemm_driver.cpp | 82 static inline void round_to_nearest(c_type *rounded_val, double fp_val) { in round_to_nearest() argument 90 *rounded_val = (c_type)fp_val; in round_to_nearest()
|
/dports/math/onednn/oneDNN-2.5.1/src/cpu/x64/gemm/ |
H A D | gemm_driver.cpp | 82 static inline void round_to_nearest(c_type *rounded_val, double fp_val) { in round_to_nearest() argument 90 *rounded_val = (c_type)fp_val; in round_to_nearest()
|