/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.CodeContracts/Mono.CodeContracts.Static.Analysis.Numerical/ |
H A D | Rational.cs | 48 readonly long down; 49 readonly Kind kind; 50 readonly long up; 52 Rational (Kind kind) in Rational() argument 63 Rational (long number) in Rational() method 68 Rational (long nominator, long denominator) in Rational() argument 126 public Rational NextInt32 138 public Rational PreviousInt32 151 public Rational NextInt64 697 static int GetSign (Rational r) in GetSign() [all …]
|
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/ffmpeg-next-4.4.0/src/util/ |
H A D | rational.rs | 9 pub struct Rational(pub i32, pub i32); struct 11 impl Rational { impl 36 pub fn reduce_with_limit(&self, max: i32) -> Result<Rational, Rational> { in reduce_with_limit() argument 80 impl From<f64> for Rational { implementation 107 impl PartialEq for Rational { implementation 124 impl Eq for Rational {} implementation 141 impl Add for Rational { implementation 150 impl Sub for Rational { implementation 159 impl Mul for Rational { implementation 168 impl Div for Rational { implementation [all …]
|
/dports/games/warzone2100/warzone2100/lib/framework/ |
H A D | rational.h | 42 struct Rational struct 44 Rational() {} in Rational() argument 112 int floor() const in floor() 137 Rational(float); // Disable. argument
|
/dports/math/givaro/givaro-4.1.1/src/kernel/rational/ |
H A D | givratcstor.C | 53 Rational::Rational(double x) { in Rational() function 85 Rational::Rational(Neutral n ) : den(Integer::one) in Rational() function 96 Rational::Rational(int32_t n ) : num(n), den(Integer::one) in Rational() function 99 Rational::Rational(uint32_t n ) : num(n), den(Integer::one) in Rational() function 104 Rational::Rational(int64_t n ) : num(n), den(Integer::one) in Rational() function 109 Rational::Rational(uint64_t n ) : num(n), den(Integer::one) in Rational() function 113 Rational::Rational(uint64_t n, uint64_t d ) in Rational() function 136 Rational::Rational(int64_t n, int64_t d ) in Rational() function 164 Rational::Rational(const char* s ) in Rational() function 178 Rational::Rational(const Integer &n) : den(Integer::one) in Rational() function [all …]
|
/dports/math/cvc4/CVC4-1.7/src/util/ |
H A D | rational_gmp_imp.h | 68 Rational(const mpq_class& val) : d_value(val) { } in Rational() function 81 Rational() : d_value(0){ in Rational() function 102 Rational(const Rational& q) : d_value(q.d_value) { in Rational() function 109 Rational(signed int n) : d_value(n,1) { in Rational() function 112 Rational(unsigned int n) : d_value(n,1) { in Rational() function 115 Rational(signed long int n) : d_value(n,1) { in Rational() function 118 Rational(unsigned long int n) : d_value(n,1) { in Rational() function 123 Rational(int64_t n) : d_value(static_cast<long>(n), 1) { in Rational() function 134 Rational(signed int n, signed int d) : d_value(n,d) { in Rational() function 156 Rational(const Integer& n, const Integer& d) : in Rational() function [all …]
|
H A D | rational_cln_imp.h | 72 Rational(const cln::cl_RA& val) : d_value(val) { } in Rational() function 85 Rational() : d_value(0){ in Rational() function 128 Rational(const Rational& q) : d_value(q.d_value) { } in Rational() function 133 Rational(signed int n) : d_value((signed long int)n) { } in Rational() function 134 Rational(unsigned int n) : d_value((unsigned long int)n) { } in Rational() function 135 Rational(signed long int n) : d_value(n) { } in Rational() function 136 Rational(unsigned long int n) : d_value(n) { } in Rational() function 139 Rational(int64_t n) : d_value(static_cast<long>(n)) { } in Rational() function 152 Rational(signed long int n, signed long int d) : d_value(n) { in Rational() function 168 Rational(const Integer& n, const Integer& d) : in Rational() function [all …]
|
/dports/math/kalker/kalker-1.1.0/cargo-crates/rug-1.11.0/src/rational/ |
H A D | traits.rs | 33 impl Default for Rational { implementation 40 impl Clone for Rational { implementation 60 impl Drop for Rational { implementation 69 impl Hash for Rational { implementation 77 impl FromStr for Rational { implementation 85 impl Display for Rational { implementation 91 impl Debug for Rational { implementation 97 impl Binary for Rational { implementation 103 impl Octal for Rational { implementation 121 impl Assign for Rational { implementation [all …]
|
H A D | casts.rs | 33 fn cast(self) -> Rational { in cast() 57 fn cast(self) -> Rational { in cast() 64 fn checked_cast(self) -> Option<Rational> { in checked_cast() 69 impl Cast<f32> for Rational { implementation 76 impl Cast<f32> for &'_ Rational { implementation 85 fn cast(self) -> Rational { in cast() 92 fn checked_cast(self) -> Option<Rational> { in checked_cast() 103 impl Cast<f64> for Rational { implementation 110 impl Cast<f64> for &'_ Rational { implementation 119 fn cast(self) -> Rational { in cast() [all …]
|
/dports/math/kalker/kalker-1.1.0/cargo-crates/rug-1.11.0/src/ext/ |
H A D | xmpq.rs | 64 impl<'a> OptRational for &'a Rational { implementation 102 pub fn set<O: OptRational>(rop: &mut Rational, op: O) { in set() 111 pub fn set_f64(rop: &mut Rational, op: f64) { in set_f64() 123 pub unsafe fn clear(rop: &mut Rational) { in clear() 128 pub unsafe fn init_set(rop: *mut Rational, op: &Rational) { in init_set() 213 pub fn inv<O: OptRational>(rop: &mut Rational, op: O) { in inv() 358 pub fn canonicalize(r: &mut Rational) { in canonicalize() 386 pub fn set_0(rop: &mut Rational) { in set_0() 439 pub fn cmp(op1: &Rational, op2: &Rational) -> Ordering { in cmp() 444 pub fn equal(op1: &Rational, op2: &Rational) -> bool { in equal() [all …]
|
/dports/lang/parrot/parrot-8.1.0/docs/deprecations/ |
H A D | deprecations_3_0.pod | 17 =head3 Rational subsection 33 =head3 Rational subsection 79 =head3 Rational subsection 95 =head3 Rational subsection 122 =head3 Rational subsection 138 =head3 Rational subsection 162 =head3 Rational subsection 189 =head3 Rational subsection 212 =head3 Rational subsection
|
H A D | deprecations_2_9.pod | 18 =head3 Rational subsection 61 =head3 Rational subsection 87 =head3 Rational subsection 113 =head3 Rational subsection 130 =head3 Rational subsection 155 =head3 Rational subsection 176 =head3 Rational subsection 194 =head3 Rational subsection
|
/dports/graphics/gifski/gifski-1.5.0/cargo-crates/ffmpeg-next-4.4.0/src/util/mathematics/ |
H A D | rescale.rs | 9 S: Into<Rational>, in rescale() 10 D: Into<Rational>; in rescale() 12 fn rescale_with<S, D>(&self, source: S, destination: D, rounding: Rounding) -> i64 in rescale_with() 15 D: Into<Rational>; in rescale_with() 21 S: Into<Rational>, in rescale() 22 D: Into<Rational>, in rescale() 33 fn rescale_with<S, D>(&self, source: S, destination: D, rounding: Rounding) -> i64 in rescale_with() 36 D: Into<Rational>, in rescale_with()
|
/dports/print/lilypond/lilypond-2.22.1/flower/include/ |
H A D | rational.hh | 31 class Rational class 46 constexpr Rational (int sign, U64 num, U64 den) in Rational() function in Rational 80 constexpr Rational () : sign_ (0), num_ (1), den_ (1) {} in Rational() function in Rational 88 Rational (int n) : Rational (static_cast<long long> (n)) {} in Rational() function in Rational 89 Rational (long n) : Rational (static_cast<long long> (n)) {} in Rational() function in Rational 91 Rational (unsigned n) : Rational (static_cast<unsigned long long> (n)) {} in Rational() function in Rational 92 Rational (unsigned long n) : Rational (static_cast<unsigned long long> (n)) {} in Rational() function in Rational
|
/dports/math/cvc3/cvc3-2.4.1/java/src/cvc3/ |
H A D | Rational.java | 5 public class Rational extends Embedded { class 17 jniToString(Object Rational) throws Cvc3Exception; in jniToString() 19 jniHash(Object Rational) throws Cvc3Exception; in jniHash() 43 jniGetNumerator(Object Rational) throws Cvc3Exception; in jniGetNumerator() 45 jniGetDenominator(Object Rational) throws Cvc3Exception; in jniGetDenominator() 47 jniIsInteger(Object Rational) throws Cvc3Exception; in jniIsInteger() 49 jniGetInteger(Object Rational) throws Cvc3Exception; in jniGetInteger() 57 jniAbs(Object Rational) throws Cvc3Exception; in jniAbs() 59 jniFloor(Object Rational) throws Cvc3Exception; in jniFloor() 61 jniCeil(Object Rational) throws Cvc3Exception; in jniCeil() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/format/test/ |
H A D | format_test2.cpp | 22 struct Rational { struct 24 Rational (int an, int ad) : n(an), d(ad) {} in Rational() function
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/format/test/ |
H A D | format_test2.cpp | 22 struct Rational { struct 24 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/databases/percona57-server/boost_1_59_0/libs/format/test/ |
H A D | format_test2.cpp | 22 struct Rational { struct 24 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/databases/percona57-client/boost_1_59_0/libs/format/test/ |
H A D | format_test2.cpp | 22 struct Rational { struct 24 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/format/test/ |
H A D | format_test2.cpp | 22 struct Rational { struct 24 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/print/lilypond-devel/lilypond-2.23.5/flower/include/ |
H A D | rational.hh | 31 class Rational class 46 constexpr Rational (int sign, U64 num, U64 den) in Rational() function in Rational 73 constexpr Rational () : sign_ (0), num_ (1), den_ (1) {} in Rational() function in Rational 84 Rational (int n) : Rational (static_cast<long long> (n)) {} in Rational() function in Rational 85 Rational (long n) : Rational (static_cast<long long> (n)) {} in Rational() function in Rational 87 Rational (unsigned n) : Rational (static_cast<unsigned long long> (n)) {} in Rational() function in Rational 88 Rational (unsigned long n) : Rational (static_cast<unsigned long long> (n)) {} in Rational() function in Rational
|
/dports/graphics/krita/krita-4.4.8/libs/metadata/ |
H A D | kis_meta_data_value.h | 32 struct Rational : public boost::equality_comparable<Rational> struct 34 explicit Rational(qint32 n = 0, qint32 d = 1) : numerator(n), denominator(d) {} in numerator() argument 37 bool operator==(const Rational& ur) const { argument 59 Rational enumerator
|
/dports/devel/boost-docs/boost_1_72_0/libs/format/test/ |
H A D | format_test3.cpp | 18 struct Rational { struct 20 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/devel/boost-libs/boost_1_72_0/libs/format/test/ |
H A D | format_test3.cpp | 18 struct Rational { struct 20 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/format/test/ |
H A D | format_test3.cpp | 18 struct Rational { struct 20 Rational (int an, int ad) : n(an), d(ad) {} in Rational() argument
|
/dports/devel/hyperscan/boost_1_75_0/libs/format/test/ |
H A D | format_test3.cpp | 18 struct Rational { struct 20 Rational (int an, int ad) : n(an), d(ad) {} in Rational() function
|