Home
last modified time | relevance | path

Searched refs:Minus (Results 1 – 25 of 98) sorted by relevance

1234

/external/rust/crates/num-bigint/src/
Dbigint.rs17 use self::Sign::{Minus, NoSign, Plus};
42 Minus, enumerator
54 Minus => Plus, in neg()
56 Plus => Minus, in neg()
127 Minus => other.data.cmp(&self.data), in cmp()
188 self.sign = Minus; in not()
190 Minus => { in not()
206 Minus => BigInt::from(&self.data - 1u32), in not()
258 Minus => BigInt::from(self.data.clone()), in abs()
275 Minus => -BigInt::one(), in signum()
[all …]
/external/rust/crates/num-bigint/src/bigint/
Dbits.rs2 use super::Sign::{Minus, NoSign, Plus};
119 (Plus, Minus) => self.clone() & other, in bitand()
120 (Minus, Plus) => other.clone() & self, in bitand()
121 (Minus, Minus) => { in bitand()
156 (Plus, Minus) => { in bitand_assign()
160 (Minus, Plus) => { in bitand_assign()
165 (Minus, Minus) => { in bitand_assign()
259 (Plus, Minus) => other.clone() | self, in bitor()
260 (Minus, Plus) => self.clone() | other, in bitor()
261 (Minus, Minus) => { in bitor()
[all …]
Dconvert.rs1 use super::Sign::{self, Minus, NoSign, Plus};
35 Minus in from_str_radix()
50 Minus => { in to_i64()
67 Minus => { in to_i128()
84 Minus => None, in to_u64()
93 Minus => None, in to_u128()
100 Some(if self.sign == Minus { -n } else { n }) in to_f32()
106 Some(if self.sign == Minus { -n } else { n }) in to_f64()
188 sign: Minus, in from()
203 sign: Minus, in from()
[all …]
Daddition.rs2 use super::Sign::{Minus, NoSign, Plus};
22 (Plus, Plus) | (Minus, Minus) => BigInt::from_biguint($a.sign, $a_data + $b_data),
24 (Plus, Minus) | (Minus, Plus) => match $a.data.cmp(&$b.data) {
99 Minus => match self.data.cmp(&From::from(other)) { in add()
124 Minus => match self.data.cmp(&From::from(other)) { in add()
149 Minus => match self.data.cmp(&From::from(other)) { in add()
Dsubtraction.rs2 use super::Sign::{Minus, NoSign, Plus};
21 (Plus, Minus) | (Minus, Plus) => BigInt::from_biguint($a.sign, $a_data + $b_data),
23 (Plus, Plus) | (Minus, Minus) => match $a.data.cmp(&$b.data) {
97 Minus => -BigInt::from(self.data + other), in sub()
148 Minus => -BigInt::from(self.data + other), in sub()
173 Minus => -BigInt::from(self.data + other), in sub()
Dmultiplication.rs2 use super::Sign::{self, Minus, NoSign, Plus};
18 (Plus, Plus) | (Minus, Minus) => Plus, in mul()
19 (Plus, Minus) | (Minus, Plus) => Minus, in mul()
Dpower.rs2 use super::Sign::{self, Minus, Plus};
16 } else if sign != Minus || other.is_odd() { in powsign()
90 (false, true) => (Minus, &modulus.data - result), in modpow()
91 (true, true) => (Minus, result), in modpow()
Darbitrary.rs11 let sign = if positive { Sign::Plus } else { Sign::Minus }; in arbitrary()
26 let sign = if positive { Sign::Plus } else { Sign::Minus }; in arbitrary()
32 let sign = if positive { Sign::Plus } else { Sign::Minus }; in arbitrary_take_rest()
Dserde.rs14 Sign::Minus => (-1i8).serialize(serializer), in serialize()
28 -1 => Ok(Sign::Minus), in deserialize()
/external/markdown/tests/basic/
Dordered-and-unordered-list.txt40 - Minus 1
41 - Minus 2
42 - Minus 3
47 - Minus 1
49 - Minus 2
51 - Minus 3
Dbacklash-escapes.txt33 Minus: \-
69 Minus: \-
104 Minus: `\-`
/external/markdown/tests/pl/Tests_2004/
DOrdered and unordered lists.text40 - Minus 1
41 - Minus 2
42 - Minus 3
47 - Minus 1
49 - Minus 2
51 - Minus 3
DBackslash escapes.text33 Minus: \-
69 Minus: \-
104 Minus: `\-`
/external/markdown/tests/pl/Tests_2007/
DOrdered and unordered lists.text40 - Minus 1
41 - Minus 2
42 - Minus 3
47 - Minus 1
49 - Minus 2
51 - Minus 3
DBackslash escapes.text33 Minus: \-
69 Minus: \-
104 Minus: `\-`
/external/rust/crates/num-bigint/tests/
Dbigint.rs2 use num_bigint::Sign::{Minus, NoSign, Plus};
37 assert_eq!(BigInt::from_bytes_be(Minus, &[]), BigInt::zero()); in test_from_bytes_be()
72 assert_eq!(BigInt::from_bytes_le(Minus, &[]), BigInt::zero()); in test_from_bytes_le()
199 nums.push(BigInt::from_slice(Minus, *s)); in test_cmp()
250 let f = BigInt::new(Minus, vec![1]); in test_hash()
279 BigInt::from_biguint(Minus, BigUint::new(vec![1, 0, 0, 1 << 31])).to_i64(), in test_convert_i64()
284 BigInt::from_biguint(Minus, BigUint::new(vec![1, 2, 3, 4, 5])).to_i64(), in test_convert_i64()
310 BigInt::from_biguint(Minus, BigUint::new(vec![1, 0, 0, 1 << 31])).to_i128(), in test_convert_i128()
315 BigInt::from_biguint(Minus, BigUint::new(vec![1, 2, 3, 4, 5])).to_i128(), in test_convert_i128()
339 assert_eq!(BigInt::from_biguint(Minus, max_value).to_u64(), None); in test_convert_u64()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp402 Parser.getTok().getKind() == AsmToken::Minus) && in tryParseExpression()
433 tokens[1].getKind() == AsmToken::Minus)) { in tryParseRelocExpression()
436 if (CurTok == AsmToken::Minus || in tryParseRelocExpression()
437 tokens[1].getKind() == AsmToken::Minus) { in tryParseRelocExpression()
445 if (CurTok == AsmToken::Minus || CurTok == AsmToken::Plus) in tryParseRelocExpression()
473 if (tokens[1].getKind() == AsmToken::Minus || in tryParseRelocExpression()
484 if (tokens[1].getKind() == AsmToken::Minus || in tryParseRelocExpression()
522 case AsmToken::Minus: { in parseOperand()
650 Tokens[0].getKind() == AsmToken::Minus && in parseLiteralValues()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DHasPositionalPredChecker.java31 import org.apache.xpath.operations.Minus;
105 (pred instanceof Minus) || in visitPredicate()
/external/rust/crates/num-bigint/src/biguint/
Dmultiplication.rs8 use crate::Sign::{self, Minus, NoSign, Plus};
215 Minus => { in mac3()
345 Minus => sub2(&mut acc[i * j..], result.digits()), in mac3()
398 (Minus, biguint_from_vec(b)) in sub_sign()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/WindowsResource/
DResourceScriptTokenList.h29 SHORT_TOKEN(Minus, '-') // Subtraction operator.
/external/double-conversion/double-conversion/
Dfast-dtoa.cc325 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low); in DigitGen()
364 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), in DigitGen()
392 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, in DigitGen()
/external/cronet/third_party/icu/source/i18n/
Ddouble-conversion-fast-dtoa.cpp339 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low); in DigitGen()
378 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), in DigitGen()
406 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, in DigitGen()
/external/icu/icu4c/source/i18n/
Ddouble-conversion-fast-dtoa.cpp339 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low); in DigitGen()
378 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), in DigitGen()
406 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, in DigitGen()
/external/cronet/base/third_party/double_conversion/double-conversion/
Dfast-dtoa.cc325 DiyFp unsafe_interval = DiyFp::Minus(too_high, too_low); in DigitGen()
364 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f(), in DigitGen()
392 return RoundWeed(buffer, *length, DiyFp::Minus(too_high, w).f() * unit, in DigitGen()
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DMinus.java30 public class Minus extends Operation class

1234