Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Java-Functions
4.2K+ articles
Java-lang package
417+ articles
java-basics
330+ articles
Java-math-package
88+ articles
Java-BigInteger
63+ articles
Java-BigDecimal
43+ articles
java-math
147+ posts
Recent Articles
Popular Articles
BigInteger valueOf() Method in Java
Last Updated: 29 November 2019
The java.math.BigInteger.valueOf(long value) method returns a BigInteger whose value is equal to value of long passed as parameter. This method is static method so It is n...
read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
StrictMath subtractExact() in Java With Examples
Last Updated: 13 December 2021
subtractExact(int num1, int num2)The subtractExact(int num1, int num2) is an inbuilt method of StrictMath class in java which is used to get the difference of the given ar...
read more
Java
Java-Library
Java-lang package
java-math
Java 8 | BigInteger byteValueExact() method with Examples
Last Updated: 04 December 2018
java.math.BigInteger.byteValueExact() was introduced in Java 8. It is an inbuilt function which converts the value of BigInteger to a byte and checks for any lost informat...
read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
BigInteger intValueExact() Method in Java with Examples
Last Updated: 04 December 2018
java.math.BigInteger.intValueExact() was introduced in Java 8. It is an inbuilt function which converts the value of BigInteger to a int and checks for lost information. I...
read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
Java 8 | BigInteger longValueExact() Method with Examples
Last Updated: 04 December 2018
java.math.BigInteger.longValueExact() was introduced in Java 8. It is an inbuilt function which converts the value of BigInteger to a long and checks for lost information....
read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
Java 8 | BigInteger shortValueExact() Method with Examples
Last Updated: 04 December 2018
java.math.BigInteger.shortValueExact() was introduced in Java 8. It is an inbuilt function which converts the value of BigInteger to a short and checks for lost informatio...
read more
Java
java-basics
Java-Functions
java-math
Java-BigInteger
Java-math-package
Java 8 | BigInteger divideAndRemainder() method with Examples
Last Updated: 04 December 2018
java.math.BigInteger.divideAndRemainder(BigInteger val) was introduced in Java 8. This method returns an array of two BigInteger after applying division operation between ...
read more
Java
Java-Functions
java-math
Java-BigInteger
Java-math-package
StrictMath toIntExact() Method in Java with Examples
Last Updated: 29 December 2022
The java.lang.StrictMath.toIntExact() is an inbuilt method in Java is used to return the value of the long argument. If the result overflows an int it will throw an except...
read more
Java
java-math
Java-StrictMath
StrictMath ulp() Method In Java with Examples
Last Updated: 13 December 2021
ulp(double num)The ulp(double num) is an inbuilt method of StrictMath class in java which is used to get the size of an ulp of the given argument. An ulp of a double value...
read more
Java
Java-lang package
java-math
Java-StrictMath
Math fma() method in Java with Examples
Last Updated: 29 October 2018
In Math class, there are two types of fma() method depending upon the parameters passed to it.The methods are:fma(double a, double b, double c): This method of Math class ...
read more
Java
java-basics
Java-lang package
Java-Functions
java-math
Math multiplyFull() method in Java with Examples
Last Updated: 24 April 2023
The multiplyFull(int x, int y) method of Math class is used to return the exact mathematical product of the two arguments. In the parameters, two integer values are provid...
read more
Java
java-basics
Java-Functions
java-math
Math multiplyHigh() method in Java with Examples
Last Updated: 29 October 2018
The multiplyHigh(long x, long y) method of Math class is used to return the most significant 64 bits from the 128-bit product of two 64-bit factors. This method takes two ...
read more
Java
java-basics
Java-Functions
java-math
StrictMath multiplyFull() method in Java with Examples
Last Updated: 30 July 2019
The multiplyFull(int x, int y) method of StrictMath class is used to return the exact mathematical product of the two arguments. In the parameters, two integer values are ...
read more
Java
java-basics
Java-lang package
java-math
Java-StrictMath
Java Arithmetic Operators with Examples
Last Updated: 28 March 2023
Operators constitute the basic building block to any programming language. Java too provides many types of operators which can be used according to the need to perform var...
read more
Java
Computer Science Fundamentals
Java-Operators
java-math
Convert a String to a BigInteger in Java
Last Updated: 12 February 2024
In Java, the BigInteger class is a part of the java.math package and is designed to handle arbitrary precision integers. Unlike primitive data types such as int or long, w...
read more
Java
Java Programs
Picked
java-math
Java-BigInteger
Java-String-Programs
Java Examples
1
2
3
4
...
10
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !