Home
last modified time | relevance | path

Searched refs:isneg (Results 1 – 20 of 20) sorted by relevance

/third_party/boost/boost/multiprecision/detail/
Ditos.hpp20 bool isneg = false; in itos() local
24 isneg = true; in itos()
31 if (isneg) in itos()
Dfloat_string_cvt.hpp61 bool isneg = false; in convert_to_string() local
89 isneg = b.compare(ui_type(0)) < 0; in convert_to_string()
90 if (isneg) in convert_to_string()
184 if (isneg) in convert_to_string()
/third_party/boost/boost/multiprecision/cpp_bin_float/
Dtranscendental.hpp70 bool isneg = eval_get_sign(arg) < 0; in eval_exp() local
80 if (isneg) in eval_exp()
92 if (isneg) in eval_exp()
/third_party/boost/boost/multiprecision/detail/functions/
Dpow.hpp209 bool isneg = eval_get_sign(x) < 0; in eval_exp() local
218 if (isneg) in eval_exp()
233 if (isneg) in eval_exp()
253 if (isneg) in eval_exp()
265 if (isneg && (k & 1)) in eval_exp()
287 if (isneg) in eval_exp()
311 if (isneg) in eval_exp()
332 if (isneg) in eval_exp()
/third_party/boost/boost/math/cstdfloat/
Dcstdfloat_iostream.hpp404 const bool isneg = (x < 0); in convert_to_string() local
405 const bool iszero = ((!isneg) ? bool(+x < (std::numeric_limits<float_type>::min)()) in convert_to_string()
408 const bool isinf = ((!isneg) ? bool(+x > (std::numeric_limits<float_type>::max)()) in convert_to_string()
441 if(isneg) { x = -x; } in convert_to_string()
556 if(isneg) in convert_to_string()
Dcstdfloat_cmath.hpp48 const bool isneg = (x < 0); in pown() local
50 const bool isinf = ((!isneg) ? bool(+x > (std::numeric_limits<float_type>::max)()) in pown()
/third_party/libsnd/src/ALAC/
Dag_enc.c88 int32_t isneg = a >> 31 ; in abs_func() local
89 int32_t xorval = a ^ isneg ; in abs_func()
90 int32_t result = xorval-isneg ; in abs_func()
/third_party/boost/boost/multiprecision/
Dcpp_dec_float.hpp502 bool isneg() const { return neg; } in isneg() function in boost::multiprecision::backends::cpp_dec_float
680 if ((v.isinf)() && (isneg() != v.isneg())) in operator +=()
1120 if (isneg()) in div_unsigned_long_long()
1253 if ((isinf)() && !isneg()) in calculate_sqrt()
1258 if (isneg() || (!(isfinite)())) in calculate_sqrt()
1390 return (isneg() ? -1 : 1); in compare()
1565 if (xx.isneg()) in extract_double()
1612 if (xx.isneg()) in extract_long_double()
1651 const bool b_neg = isneg(); in extract_signed_long_long()
1667 if (xn.isneg()) in extract_signed_long_long()
[all …]
Dcpp_int.hpp467 BOOST_MP_FORCEINLINE bool isneg() const BOOST_NOEXCEPT in isneg() function
686 BOOST_MP_FORCEINLINE BOOST_MP_CXX14_CONSTEXPR bool isneg() const BOOST_NOEXCEPT in isneg() function
899 BOOST_MP_FORCEINLINE BOOST_CONSTEXPR bool isneg() const BOOST_NOEXCEPT in isneg() function
1096 BOOST_MP_FORCEINLINE BOOST_MP_CXX14_CONSTEXPR bool isneg() const BOOST_NOEXCEPT in isneg() function
1257 BOOST_MP_FORCEINLINE BOOST_CONSTEXPR bool isneg() const BOOST_NOEXCEPT in isneg() function
1599 bool isneg = false; in do_assign_string() local
1604 isneg = true; in do_assign_string()
1642 if (isneg) in do_assign_string()
1652 bool isneg = false; in do_assign_string() local
1657 isneg = true; in do_assign_string()
[all …]
Dtommath.hpp273 bool isneg = false; in operator =() local
278 isneg = true; in operator =()
371 if (isneg) in operator =()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java330 private static final byte isneg = -1; // ind: indicates negative (must be -1) field in BigDecimal
551 ind = isneg; in BigDecimal()
790 ind = isneg; in BigDecimal()
799 ind = isneg; in BigDecimal()
813 ind = isneg;/* negative */// [0 case already handled] in BigDecimal()
865 ind = isneg;/* negative */ in BigDecimal()
973 if (this.ind == isneg) in abs()
1136 … if (((lhs.ind == isneg) ? 1 : 0) == ((rhs.ind == isneg) ? 1 : 0)) // same sign, 0 non-negative in add()
1782 if (rhs.ind == isneg) in pow()
2455 if (ind == isneg) // really was negative in intValueExact()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/
DBigDecimal.java319 private static final byte isneg = -1; // ind: indicates negative (must be -1) field in BigDecimal
535 ind = isneg; in BigDecimal()
772 ind = isneg; in BigDecimal()
781 ind = isneg; in BigDecimal()
795 ind = isneg;/* negative */// [0 case already handled] in BigDecimal()
846 ind = isneg;/* negative */ in BigDecimal()
951 if (this.ind == isneg) in abs()
1112 … if (((lhs.ind == isneg) ? 1 : 0) == ((rhs.ind == isneg) ? 1 : 0)) // same sign, 0 non-negative in add()
1738 if (rhs.ind == isneg) in pow()
2398 if (ind == isneg) // really was negative in intValueExact()
[all …]
/third_party/openssl/crypto/x509v3/
Dv3_utl.c199 int isneg, ishex; in s2i_ASN1_INTEGER() local
212 isneg = 1; in s2i_ASN1_INTEGER()
214 isneg = 0; in s2i_ASN1_INTEGER()
233 if (isneg && BN_is_zero(bn)) in s2i_ASN1_INTEGER()
234 isneg = 0; in s2i_ASN1_INTEGER()
243 if (isneg) in s2i_ASN1_INTEGER()
/third_party/libxml2/
Dxmlschemastypes.c1214 int isneg = 0, digcnt = 0; in _xmlSchemaParseGYear() local
1221 isneg = 1; in _xmlSchemaParseGYear()
1245 if (isneg) in _xmlSchemaParseGYear()
1445 int isneg = 0, tmp = 0; in _xmlSchemaParseTimeZone() local
1446 isneg = (*cur == '-'); in _xmlSchemaParseTimeZone()
1469 if (isneg) in _xmlSchemaParseTimeZone()
1802 int isneg = 0; in xmlSchemaValidateDuration() local
1814 isneg = 1; in xmlSchemaValidateDuration()
1939 if (isneg) { in xmlSchemaValidateDuration()
Dxpath.c9988 int isneg = 0; in xmlXPathStringEvalNumber() local
10001 isneg = 1; in xmlXPathStringEvalNumber()
10068 if (isneg) ret = -ret; in xmlXPathStringEvalNumber()
/third_party/gettext/gnulib-local/lib/libxml/
Dxmlschemastypes.c1240 int isneg = 0, digcnt = 0; in _xmlSchemaParseGYear() local
1247 isneg = 1; in _xmlSchemaParseGYear()
1264 if (isneg) in _xmlSchemaParseGYear()
1464 int isneg = 0, tmp = 0; in _xmlSchemaParseTimeZone() local
1465 isneg = (*cur == '-'); in _xmlSchemaParseTimeZone()
1488 if (isneg) in _xmlSchemaParseTimeZone()
1821 int isneg = 0; in xmlSchemaValidateDuration() local
1835 isneg = 1; in xmlSchemaValidateDuration()
1905 if (isneg) { in xmlSchemaValidateDuration()
Dxpath.c10076 int isneg = 0; in xmlXPathStringEvalNumber() local
10089 isneg = 1; in xmlXPathStringEvalNumber()
10156 if (isneg) ret = -ret; in xmlXPathStringEvalNumber()
/third_party/boost/libs/multiprecision/example/
Dhypergeometric_luke_algorithms.cpp92 template<class T> bool isneg(const T& x) { return (x < T(0)); } in isneg() function
154 if(my_math::isneg(x)) in chebyshev_t()
/third_party/boost/boost/multiprecision/cpp_int/
Dmisc.hpp596 if (val.isneg()) in eval_convert_to()
612 if (val.isneg()) in eval_convert_to()
/third_party/python/Modules/_decimal/libmpdec/
Dmpdecimal.c1415 int isneg; in mpd_qget_ssize() local
1423 isneg = mpd_isnegative(a); in mpd_qget_ssize()
1425 return isneg ? -((mpd_ssize_t)u) : (mpd_ssize_t)u; in mpd_qget_ssize()
1427 else if (isneg && u+(MPD_SSIZE_MIN+MPD_SSIZE_MAX) == MPD_SSIZE_MAX) { in mpd_qget_ssize()
1500 int isneg; in _c32_qget_i64() local
1507 isneg = mpd_isnegative(a); in _c32_qget_i64()
1509 return isneg ? -((int64_t)u) : (int64_t)u; in _c32_qget_i64()
1511 else if (isneg && u+(INT64_MIN+INT64_MAX) == INT64_MAX) { in _c32_qget_i64()