Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GcdInt (0.18 sec)

  1. guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
            return IntMath.gcd(a, b);
          }
    
          @Override
          public long gcdLong(long a, long b) {
            return LongMath.gcd(a, b);
          }
    
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
            return DoubleMath.factorial(n);
          }
    
          @Override
          public int gcdInt(int a, int b) {
            return IntMath.gcd(a, b);
          }
    
          @Override
          public long gcdLong(long a, long b) {
            return LongMath.gcd(a, b);
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    	x.doinit()
    	y.doinit()
    	C.mpz_tdiv_qr(&q.i[0], &r.i[0], &x.i[0], &y.i[0])
    }
    
    // GcdInt sets d to the greatest common divisor of a and b,
    // which must be positive numbers.
    // If x and y are not nil, GcdInt sets x and y such that d = a*x + b*y.
    // If either a or b is not positive, GcdInt sets d = x = y = 0.
    func GcdInt(d, x, y, a, b *Int) {
    	d.doinit()
    	x.doinit()
    	y.doinit()
    	a.doinit()
    	b.doinit()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top