## StrictMath ceil() Method in Java with Examples

All methods of java.lang.StrictMath class : Set 1, Set 2 The java.lang.StrictMath.ceil() is an inbuilt method in Java is used to return the smallest double… Read More »

## StrictMath cos() Method in Java with Examples

All methods of java.lang.StrictMath class : Set 1, Set 2 The java.lang.StrictMath.cos() is an inbuilt method in Java which is used to return the cosine… Read More »

## Check whether the number formed by concatenating two numbers is a perfect square or not

Given two numbers a and b and the task is to check whether the concatenation of a and b is a perfect square or not.… Read More »

## BigDecimal min() Method in Java

The java.math.BigDecimal.min(BigDecimal val) method in Java is used to compare two BigDecimal values and return the minimum of the two. Syntax: public BigDecimal min(BigDecimal val)… Read More »

## BigDecimal max() Method in Java

The java.math.BigDecimal.max(BigDecimal val) method in Java is used to compare two BigDecimal values and return the maximum of the two. This is opposite to BigDecimal… Read More »

## BigInteger signum() Method in Java

prerequisite : BigInteger Basics The java.math.BigInteger.signum() method helps us to identify whether a BigInteger is positive or zero or negative. It returns one of the… Read More »

## BigInteger shiftRight() Method in Java

prerequisite : BigInteger Basics The java.math.BigInteger.shiftRight(int n) method returns a BigInteger whose value is (this >> n). The shift distance, n, may be negative, in… Read More »

## BigInteger getLowestSetBit() Method in Java

prerequisite : BigInteger Basics The java.math.BigInteger.getLowestSetBit() method returns the index of the rightmost (lowest-order) set bit of this BigInteger. It means this method returns the… Read More »

## BigInteger abs() Method in Java

prerequisite : BigInteger Basics The java.math.BigInteger.abs() method returns absolute value of a BigInteger. By using this method one can find absolute value of any large… Read More »

## BigDecimal longValue() Method in Java

The java.math.BigDecimal.longValue() is an in-built function which converts this BigDecimal to a long value. This function discards any fractional part of this BigDecimal. The function… Read More »

## BigDecimal hashCode() Method in Java

The java.math.BigDecimal.hashCode() returns the hash code for this BigDecimal. The hashcode will generally not be the same for two BigDecimal objects with equal values and… Read More »

## BigDecimal intValue() Method in Java

The java.math.BigDecimal.intValue() is an in-built function which converts this BigDecimal to an integer value. This function discards any fractional part of this BigDecimal. If the… Read More »

## BigDecimal longValueExact() Method in Java

The java.math.BigDecimal.longValueExact() is an in-built function which converts this BigDecimal to a long value as well as checks for lost information. This function throws Arithmetic… Read More »

## BigDecimal intvalueExact() Method in Java

The java.math.BigDecimal.intValueExact() is an inbuilt function which converts this BigDecimal to an integer value as well as checks for the lost information. This function throws… Read More »

## BigInteger testBit() Method in Java

prerequisite : BigInteger Basics The java.math.BigInteger.testBit(index) method returns true if and only if the designated bit is set. This method Computes (this & (1<<n)) !=… Read More »