Home
last modified time | relevance | path

Searched refs:is_neg (Results 1 – 25 of 28) sorted by relevance

12

/third_party/boost/boost/polygon/detail/
Dvoronoi_robust_fpt.hpp70 bool is_neg(const T& that) { in is_neg() function
111 return is_neg(fpv_); in has_neg_value()
124 if ((!is_neg(this->fpv_) && !is_neg(that.fpv_)) || in operator +=()
130 if (is_neg(temp)) in operator +=()
140 if ((!is_neg(this->fpv_) && !is_pos(that.fpv_)) || in operator -=()
141 (!is_pos(this->fpv_) && !is_neg(that.fpv_))) { in operator -=()
146 if (is_neg(temp)) in operator -=()
169 if ((!is_neg(this->fpv_) && !is_neg(that.fpv_)) || in operator +()
175 if (is_neg(temp)) in operator +()
185 if ((!is_neg(this->fpv_) && !is_pos(that.fpv_)) || in operator -()
[all …]
Dvoronoi_predicates.hpp59 uint_x2_type a1 = static_cast<uint_x2_type>(is_neg(a1_) ? -a1_ : a1_); in robust_cross_product()
60 uint_x2_type b1 = static_cast<uint_x2_type>(is_neg(b1_) ? -b1_ : b1_); in robust_cross_product()
61 uint_x2_type a2 = static_cast<uint_x2_type>(is_neg(a2_) ? -a2_ : a2_); in robust_cross_product()
62 uint_x2_type b2 = static_cast<uint_x2_type>(is_neg(b2_) ? -b2_ : b2_); in robust_cross_product()
67 if (is_neg(a1_) ^ is_neg(b2_)) { in robust_cross_product()
68 if (is_neg(a2_) ^ is_neg(b1_)) in robust_cross_product()
73 if (is_neg(a2_) ^ is_neg(b1_)) in robust_cross_product()
94 return (is_neg(value)) ? RIGHT : LEFT; in eval()
299 if (!is_neg(b1)) { in find_distance_to_segment_arc()
581 if (!is_neg(circle.x())) { in ppp()
[all …]
Dvoronoi_ctypes.hpp105 bool is_neg() const { in is_neg() function in boost::polygon::detail::extended_exponent_fpt
216 bool is_neg(const extended_exponent_fpt<_fpt>& that) { in is_neg() function
217 return that.is_neg(); in is_neg()
313 bool is_neg() const { in is_neg() function in boost::polygon::detail::extended_int
588 bool is_neg(const extended_int<N>& that) { in is_neg() function
/third_party/boost/boost/numeric/interval/detail/
Ddivision.hpp35 if (::boost::numeric::interval_lib::user::is_neg(xu)) in div_non_zero()
36 if (::boost::numeric::interval_lib::user::is_neg(yu)) in div_non_zero()
40 else if (::boost::numeric::interval_lib::user::is_neg(xl)) in div_non_zero()
41 if (::boost::numeric::interval_lib::user::is_neg(yu)) in div_non_zero()
46 if (::boost::numeric::interval_lib::user::is_neg(yu)) in div_non_zero()
60 if (::boost::numeric::interval_lib::user::is_neg(x)) in div_non_zero()
78 if (::boost::numeric::interval_lib::user::is_neg(xu)) in div_positive()
80 else if (::boost::numeric::interval_lib::user::is_neg(xl)) in div_positive()
95 if (::boost::numeric::interval_lib::user::is_neg(x)) in div_positive()
113 if (::boost::numeric::interval_lib::user::is_neg(xu)) in div_negative()
[all …]
Dtest_input.hpp24 bool is_neg (T const &v) { return v < static_cast<T>(0); } in is_neg() function
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration.cc144 inline Duration MakeDurationFromU128(uint128 u128, bool is_neg) { in MakeDurationFromU128() argument
161 if (is_neg && h64 == kMaxRepHi64 && l64 == 0) { in MakeDurationFromU128()
165 return is_neg ? -InfiniteDuration() : InfiniteDuration(); in MakeDurationFromU128()
173 if (is_neg) { in MakeDurationFromU128()
240 const bool is_neg = (time_internal::GetRepHi(d) < 0) != (r < 0); in ScaleFixed() local
241 return MakeDurationFromU128(q, is_neg); in ScaleFixed()
449 const bool is_neg = (r < 0) != (rep_hi_ < 0); in operator *=() local
450 return *this = is_neg ? -InfiniteDuration() : InfiniteDuration(); in operator *=()
457 const bool is_neg = (std::signbit(r) != 0) != (rep_hi_ < 0); in operator *=() local
458 return *this = is_neg ? -InfiniteDuration() : InfiniteDuration(); in operator *=()
[all …]
/third_party/abseil-cpp/absl/time/
Dduration.cc144 inline Duration MakeDurationFromU128(uint128 u128, bool is_neg) { in MakeDurationFromU128() argument
161 if (is_neg && h64 == kMaxRepHi64 && l64 == 0) { in MakeDurationFromU128()
165 return is_neg ? -InfiniteDuration() : InfiniteDuration(); in MakeDurationFromU128()
173 if (is_neg) { in MakeDurationFromU128()
240 const bool is_neg = (time_internal::GetRepHi(d) < 0) != (r < 0); in ScaleFixed() local
241 return MakeDurationFromU128(q, is_neg); in ScaleFixed()
449 const bool is_neg = (r < 0) != (rep_hi_ < 0); in operator *=() local
450 return *this = is_neg ? -InfiniteDuration() : InfiniteDuration(); in operator *=()
457 const bool is_neg = (std::signbit(r) != 0) != (rep_hi_ < 0); in operator *=() local
458 return *this = is_neg ? -InfiniteDuration() : InfiniteDuration(); in operator *=()
[all …]
/third_party/boost/boost/multiprecision/detail/
Dfloat_string_cvt.hpp204 bool is_neg = false; in convert_from_string() local
216 is_neg = true; in convert_from_string()
222 if (is_neg) in convert_from_string()
230 if (is_neg) in convert_from_string()
309 if (is_neg) in convert_from_string()
Dgeneric_interconvert.hpp44 bool is_neg = eval_get_sign(t) < 0; in generic_interconvert() local
45 if (is_neg) in generic_interconvert()
73 if (is_neg) in generic_interconvert()
92 bool is_neg = eval_get_sign(t) < 0; in generic_interconvert() local
93 if (is_neg) in generic_interconvert()
121 if (is_neg) in generic_interconvert()
/third_party/openssl/test/
Dbntests.pl83 my $neg = $a->is_neg() ? !$b->is_neg() : $b->is_neg();
/third_party/boost/boost/numeric/interval/
Darith.hpp185 if (interval_lib::user::is_neg(xl)) in operator *()
187 if (interval_lib::user::is_neg(yl)) in operator *()
199 if (interval_lib::user::is_neg(yl)) in operator *()
211 if (interval_lib::user::is_neg(yl)) in operator *()
235 if (interval_lib::user::is_neg(x)) in operator *()
296 if (interval_lib::user::is_neg(y)) in operator /()
Darith2.hpp39 T const &yb = interval_lib::user::is_neg(x.lower()) ? y.lower() : y.upper(); in fmod()
62 T const &yb = interval_lib::user::is_neg(x) ? y.lower() : y.upper(); in fmod()
179 if (interval_lib::user::is_neg(x.upper())) { // [-2,-1] in pow()
186 } else if (interval_lib::user::is_neg(x.lower())) { // [-1,1] in pow()
201 if (interval_lib::detail::test_input(x) || interval_lib::user::is_neg(x.upper())) in sqrt()
217 if (interval_lib::user::is_neg(xu)) in square()
Dtransc.hpp174 if (interval_lib::user::is_neg(x.upper())) in cosh()
176 else if (!interval_lib::user::is_neg(x.lower())) in cosh()
Dutility.hpp107 (!interval_lib::user::is_neg(x.upper())); in zero_in()
264 if (!interval_lib::user::is_neg(x.lower())) return x; in abs()
/third_party/quickjs/
Dlibbf.h257 void bf_set_zero(bf_t *r, int is_neg);
258 void bf_set_inf(bf_t *r, int is_neg);
459 static inline void bfdec_set_zero(bfdec_t *r, int is_neg) in bfdec_set_zero() argument
461 bf_set_zero((bf_t *)r, is_neg); in bfdec_set_zero()
463 static inline void bfdec_set_inf(bfdec_t *r, int is_neg) in bfdec_set_inf() argument
465 bf_set_inf((bf_t *)r, is_neg); in bfdec_set_inf()
Dlibbf.c270 void bf_set_zero(bf_t *r, int is_neg) in bf_set_zero() argument
274 r->sign = is_neg; in bf_set_zero()
277 void bf_set_inf(bf_t *r, int is_neg) in bf_set_inf() argument
281 r->sign = is_neg; in bf_set_inf()
2883 int is_neg, radix_bits, exp_is_neg, ret, digits_per_limb, shift; in bf_atof_internal() local
2897 is_neg = 0; in bf_atof_internal()
2903 is_neg = 1; in bf_atof_internal()
2936 bf_set_inf(r, is_neg); in bf_atof_internal()
3069 bf_set_zero(r, is_neg); in bf_atof_internal()
3072 bf_set_inf(r, is_neg); in bf_atof_internal()
[all …]
/third_party/curl/lib/
Dmprintf.c613 int is_neg; in dprintf_formatf() local
729 is_neg = (p->data.num.as_signed < (mp_intmax_t)0) ? 1 : 0; in dprintf_formatf()
730 if(is_neg) { in dprintf_formatf()
742 is_neg = 0; in dprintf_formatf()
774 if(is_neg || (p->flags & FLAGS_SHOWSIGN) || (p->flags & FLAGS_SPACE)) in dprintf_formatf()
781 if(is_neg) in dprintf_formatf()
867 is_neg = 0; in dprintf_formatf()
/third_party/uboot/u-boot-2020.01/common/
Dbedbug.c860 int is_neg = 0; in parse_operand() local
873 is_neg = 1; in parse_operand()
878 if (is_neg) in parse_operand()
994 int is_neg = 0; in read_number() local
1002 is_neg = 1; in read_number()
1011 if (is_neg) in read_number()
/third_party/boost/boost/math/cstdfloat/
Dcstdfloat_iostream.hpp576 bool is_neg = false; in convert_from_string() local
592 is_neg = true; in convert_from_string()
602 if(is_neg) in convert_from_string()
617 if(is_neg) in convert_from_string()
715 if(is_neg) in convert_from_string()
/third_party/boost/boost/convert/
Dstrtol.hpp81 bool const is_neg = std::is_signed<Type>::value && in_value < 0; in i_to_str() local
82 unsigned_type value = static_cast<unsigned_type>(is_neg ? -in_value : in_value); in i_to_str()
89 if (is_neg) *(--beg) = '-'; in i_to_str()
/third_party/boost/boost/date_time/
Dtime_parsing.hpp53 bool is_neg = (s.at(0) == '-'); in str_from_delimited_time_duration() local
124 if(is_neg) { in str_from_delimited_time_duration()
/third_party/openssl/crypto/ec/
Dec_mult.c722 int is_neg; in ec_wNAF_mul() local
725 is_neg = digit < 0; in ec_wNAF_mul()
727 if (is_neg) in ec_wNAF_mul()
730 if (is_neg != r_is_inverted) { in ec_wNAF_mul()
/third_party/mingw-w64/mingw-w64-crt/stdio/
Dmingw_vfscanf.c317 char seen_dot, seen_exp, is_neg, not_in; in __mingw_sformat() local
1138 is_neg = (c == '-' ? 1 : 0); in __mingw_sformat()
1340 … != 0 ? (long double *) get_va_nth (argp, npos) : va_arg (arg, long double *)) = is_neg ? -ld : ld; in __mingw_sformat()
1347 *(npos != 0 ? (double *) get_va_nth (argp, npos) : va_arg (arg, double *)) = is_neg ? -d : d; in __mingw_sformat()
1353 *(npos != 0 ? (float *) get_va_nth (argp, npos) : va_arg (arg, float *)) = is_neg ? -d : d; in __mingw_sformat()
Dmingw_wvfscanf.c326 char seen_dot, seen_exp, is_neg, *nstr, buf[MB_LEN_MAX]; in __mingw_swformat() local
1098 is_neg = (c == '-' ? 1 : 0); in __mingw_swformat()
1268 …*(npos != 0 ? (long double *) get_va_nth (argp, npos) : va_arg (arg, long double *)) = is_neg ? -d… in __mingw_swformat()
1274 *(npos != 0 ? (double *) get_va_nth (argp, npos) : va_arg (arg, double *)) = is_neg ? -d : d; in __mingw_swformat()
1280 *(npos != 0 ? (float *) get_va_nth (argp, npos) : va_arg (arg, float *)) = is_neg ? -d : d; in __mingw_swformat()
/third_party/boost/boost/multiprecision/cpp_int/
Dbitwise.hpp650 bool is_neg = result.sign(); in eval_right_shift() local
651 if (is_neg) in eval_right_shift()
685 if (is_neg) in eval_right_shift()

12