Java gcd GCD(double a, double b)

Here you can find the source of GCD(double a, double b)

Description

GCD

License

Open Source License

Declaration

public static double GCD(double a, double b) 

Method Source Code

//package com.java2s;

public class Main {
    public static double GCD(double a, double b) {
        return b == 0 ? a : GCD(b, a % b);
    }//  ww  w .  ja v a  2  s.  c  om
}

Related

  1. gcd(double a, double b)
  2. gcd(final int a, final int b)
  3. gcd(final int p, final int q)
  4. gcd(int a, int b)
  5. gcd(int a, int b)