Java Number Min Value minSignedIntForBitSize_noCheck(final int bitSize)

Here you can find the source of minSignedIntForBitSize_noCheck(final int bitSize)

Description

min Signed Int For Bit Sizno Check

License

Open Source License

Declaration

private static int minSignedIntForBitSize_noCheck(final int bitSize) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static int minSignedIntForBitSize_noCheck(final int bitSize) {
        // i.e. (-1<<(bitSize-1))
        return Integer.MIN_VALUE >> 32 - bitSize;
    }//from   www . ja  v a 2s. c o m
}

Related

  1. minPositive(int a, int b)
  2. minPower2(int n)
  3. minRunLength(int n)
  4. minShareLifetime(long shareLifetime1, long shareLifetime2)
  5. minSignedIntForBitSize(final int bitSize)
  6. minSize(String str, int min, boolean nullCheck)
  7. minSPSForBandCode(String bandCode)
  8. minToS(long s)
  9. minUnsigned(long a, long b)