code: public static float min(final float a, final float b) {
          if (a > b) {
              return b;
          }
          if (a < b) {
              return a;
          }
          /* if either arg is NaN, return NaN */
          if (a != b) {
              return Float.NaN;
          }
          /* min(+0.0,-0.0) == -0.0 */
          /* 0x80000000 == Float.floatToRawIntBits(-0.0d) */
          int bits = Float.floatToRawIntBits(a);
          if (bits == 0x80000000) {
              return a;
          }
          return b;
      }
docs: Compute the minimum of two values
  @param a first value
  @param b second value
  @return a if a is lesser or equal to b, b otherwise