Java Number Max Value max8(double v1, double v2, double v3, double v4, double v5, double v6, double v7, double v8)

Here you can find the source of max8(double v1, double v2, double v3, double v4, double v5, double v6, double v7, double v8)

Description

max

License

Open Source License

Declaration

private static double max8(double v1, double v2, double v3, double v4, double v5, double v6, double v7,
            double v8) 

Method Source Code

//package com.java2s;
/*/*from  w  w w  .  j a v a 2 s  . c  o  m*/
 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

public class Main {
    private static double max8(double v1, double v2, double v3, double v4, double v5, double v6, double v7,
            double v8) {
        return Math.max(max4(v1, v2, v3, v4), max4(v5, v6, v7, v8));
    }

    private static double max4(double v1, double v2, double v3, double v4) {
        return Math.max(Math.max(v1, v2), Math.max(v3, v4));
    }
}

Related

  1. max3(double a, double b, double c)
  2. max3(int a, int b, int c)
  3. max3(int first, int second, int third)
  4. MAX3(int x, int y, int z)
  5. max4(double v1, double v2, double v3, double v4)
  6. maxDelta(float newValue, float oldValue, float maxChange)
  7. maxF(float a, float b)
  8. maxFill(final int n, final float f)
  9. maxFill(final int n, final float f)