Java Number Min Value minF(float a, float b)

Here you can find the source of minF(float a, float b)

Description

Unchecked implementation to determine the smaller of two Floats.

License

LGPL

Declaration

public static float minF(float a, float b) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    /**//from   ww  w.j ava  2s.c  o m
     * Unchecked implementation to determine the smaller of two Floats. Parameters should be known to be valid in advance.
     */
    public static float minF(float a, float b) {
        return a < b ? a : b;
    }

    public static float minF(int a, float b) {
        return a < b ? a : b;
    }

    public static float minF(float a, int b) {
        return a < b ? a : b;
    }
}

Related

  1. minCurveSegmentLength(String segmentTypeName)
  2. minDark(final int colorValue)
  3. minDeg2Bigger(long number)
  4. minDelta(double a, double b)
  5. minDivisibleNumber(float yourDividend, float divisor)
  6. minFileBuf(long fileSize, int bufSize)
  7. minifiedJS(String url)
  8. minifyPubkey(String pubkey)
  9. minIgnoreNull(Integer a, Integer b)