Java Math.sinh() method returns hyperbolic sine of the given value. This method accepts double type value as an argument and returns the hyperbolic sine of… [Read More]
Java Math.atan() Method
Java Math.atan() method returns arc tangent of the given value. Arc tangent is the inverse of tangent function. The value returned by this method ranges… [Read More]
Java Math.acos() Method
Java Math.acos() method returns arc cosine of the given value. Arc cosine is the inverse of cosine function. The value returned by this method ranges… [Read More]
Java Math.asin() Method
Java Math.asin() method returns arc sine of the given value. Arc sine is the inverse of the sine function. The value returned by this method… [Read More]
Java Math.tan() Method
Java Math.tan() method returns the trigonometric tangent of the given angle. This angle value (in radians) is passed as an argument to this method. For… [Read More]
Java Math.cos() Method
Java Math.cos() method returns the trigonometric cosine of the given angle in radians. This angle value is passed as an argument to this method and… [Read More]
Java Math.sin() Method
Java Math.sin() method returns the trigonometric sine of the given angle in radians. This angle value is passed as an argument to this method and… [Read More]
Java Math.exp() Method
Java Math.exp() method returns e raised to the power of given argument. Here e is a Euler’s number, whose approximate value is 2.718281828459045. public class… [Read More]
Java Math.log1p() Method
Java Math.log1p() method returns natural logarithm (base e) of the sum of argument and 1. In simple words log1p(num) returns log(num+1). public class JavaExample {… [Read More]
Java Math.log10() Method
Java Math.log10() method returns base 10 logarithm of the double argument. In this tutorial, we will discuss log10() method with examples. Syntax of Math.log10() method… [Read More]
Java Math.log() Method
Java Math.log(double num) method returns natural logarithm of the double value num. The natural logarithm is also known as base e logarithm. The e is… [Read More]
Java Math.toIntExact() Method
Java Math.toIntExact() method returns the long argument as an int. This method accepts long data type value as an argument and returns the equivalent integer… [Read More]
Java Math.negateExact() Method
Java Math.negateExact() method returns negation of the argument. If the given argument is positive, it returns the same argument with negative sign and vice versa…. [Read More]
Java Math.decrementExact() Method
Java Math.decrementExact() method returns the argument after decreasing it by one. In this tutorial, we will discuss decrementExact() method with examples. public class JavaExample {… [Read More]
Java Math.incrementExact() Method
Java Math.incrementExact() method returns the argument after increasing it by one. In this tutorial, we will discuss incrementExact() method with examples. public class JavaExample {… [Read More]