BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

Java Math.ulp() Method

By Chaitanya Singh

Java Math.ulp() method returns distance between the number passed as argument and the next floating point number. An ulp (unit in the last place or… [Read More]

Posted Under: java | Tags: Java Math

Java Math.IEEEremainder() Method

By Chaitanya Singh

Java Math.IEEEremainder(double f1, double f2) method returns the remainder of f1/f2 based on the IEEE 754 standard. The remainder is equal to the f1 -… [Read More]

Posted Under: java | Tags: Java Math

Java Math.getExponent() Method

By Chaitanya Singh

Java Math.getExponent() method returns unbiased exponent used in the representation of the argument. This method can accept double and float arguments. public class JavaExample {… [Read More]

Posted Under: java | Tags: Java Math

Java Math.hypot() Method

By Chaitanya Singh

Java Math.hypot(double x, double y) method returns the sqrt(x2 + y2), where x is the first argument and y is the second argument. This method… [Read More]

Posted Under: java | Tags: Java Math

Java Math.rint() Method

By Chaitanya Singh

Java Math.rint(double x) method returns the double value that is nearest to the given argument x and equal to a mathematical integer number. If two… [Read More]

Posted Under: java | Tags: Java Math

Java Math.random() Method

By Chaitanya Singh

Java Math.random() method returns a random double number between 0.0 and 1.0, where 0.0 is inclusive and 1.0 is exclusive. Number is chosen from this… [Read More]

Posted Under: java | Tags: Java Math

Java Math.floorDiv() Method

By Chaitanya Singh

Java Math.floorDiv(int x, int y) method returns the integer quotient value after dividing argument x by argument y. This method divides the argument x by… [Read More]

Posted Under: java | Tags: Java Math

Java Math.floor() Method

By Chaitanya Singh

Java Math.floor(double x) method returns the largest integer that is less than or equal to the given argument x. public class JavaExample { public static… [Read More]

Posted Under: java | Tags: Java Math

Java Math.expm1() Method

By Chaitanya Singh

Java Math.expm1(double x) method returns ex – 1. Here, e is a Euler’s number, whose approximate value is 2.718281828459045. public class JavaExample { public static void main(String[]… [Read More]

Posted Under: java | Tags: Java Math

Java Math.toRadians() Method

By Chaitanya Singh

Java Math.toRadians() method converts the given angle in degrees to radians. This the approximate conversion and in most of the cases, it is inexact. public… [Read More]

Posted Under: java | Tags: Java Math

Java Math.toDegrees() Method

By Chaitanya Singh

Java Math.toDegrees() method converts the angle given in radians to degrees. This is the approximate conversion and result are not exactly what you would expect…. [Read More]

Posted Under: java | Tags: Java Math

Java Math.tanh() Method

By Chaitanya Singh

Java Math.tanh() method returns hyperbolic tangent of the given value. This method accepts double type value as an argument and returns the hyperbolic tangent of… [Read More]

Posted Under: java | Tags: Java Math

Java Math.cosh() Method

By Chaitanya Singh

Java Math.cosh() method returns hyperbolic cosine of the given value. This method accepts double type value as an argument and returns the hyperbolic cosine of… [Read More]

Posted Under: java | Tags: Java Math

Java Math.sinh() Method

By Chaitanya Singh

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]

Posted Under: java | Tags: Java Math

Java Math.atan() Method

By Chaitanya Singh

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]

Posted Under: java | Tags: Java Math

  • 1
  • 2
  • 3
  • Next Page »

Copyright © 2012 – 2022 BeginnersBook . Privacy Policy . Sitemap