Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
Java Math getExponent() method with Example
The java.lang.Math.getExponent() returns the unbiased exponent used in the representation of a double or float. Note: If the argument is NaN or infinite of double or floa...
Read More
Java
Java-lang package
java-math
PHP rtrim() Function
The rtrim() function is a built-in function in PHP which removes whitespaces or other characters (if specified) from the right side of a string.Syntax:rtrim( $string, $cha...
Read More
Web Technologies
PHP-string
PHP
Java Math getExponent() method with Example
The java.lang.Math.getExponent() is a built-in math function which returns the unbiased exponent used in the representation of a float. If the argument is NaN or infinite...
Read More
Java
Java-lang package
java-math
numpy.log() in Python
The numpy.log() is a mathematical function that helps user to calculate Natural logarithm of x where x belongs to all the input array elements. Natural logarithm log is th...
Read More
Python
Python-numpy
Python numpy-Mathematical Function
numpy.trunc() in Python
The numpy.trunc() is a mathematical function that returns the truncated value of the elements of array. The trunc of the scalar x is the nearest integer i which, closer to...
Read More
Python
Python-numpy
Python numpy-Mathematical Function
numpy.round_() in Python
The numpy.round_() is a mathematical function that rounds an array to the given number of decimals.Syntax : numpy.round_(arr, decimals = 0, out = None)Parameters : array ...
Read More
Python
Python-numpy
Python numpy-Mathematical Function
remainder() in C++
This function is also used to return the remainder(modulus) of 2 floating point numbers mentioned in its arguments.The quotient computed is rounded.remainder = number - rq...
Read More
CPP-Library
C++
PHP | gmp_gcd() Function
The gmp_gcd() is an in built function in PHP which is used to calculate the GCD of 2 GMP numbers (GNU Multiple Precision : For large numbers).Syntax:gmp_gcd ( $num1, $num2...
Read More
Web Technologies
PHP-math
PHP
PHP strcspn() Function
The strcspn() function is an in-built function in PHP which returns the number of characters present in a string before any part of the specified characters to be searched...
Read More
Web Technologies
PHP-string
PHP
asin() and atan() functions in C/C++ with Example
In C++, asin() and atan() is a predefined function used for mathematical calculations. math.h is the header file required for various mathematical functions. All the funct...
Read More
CPP-Library
C++
cpp-math
degrees() and radians() in Python
degrees() and radians() are methods specified in math module in Python 3 and Python 2.Often one is in need to handle mathematical computation of conversion of radians to d...
Read More
Python
Python-Built-in-functions
PHP | unset() Function
The unset() function is an inbuilt function in PHP which is used to unset a specified variable. The behavior of this function depends on different things. If the function ...
Read More
Web Technologies
PHP-function
PHP
Number of prefix sum prime in given range query
Given an array of non-negative integers and range query l, r, find number of prefix sum which are prime numbers in that given range.Prerequisite : Prefix Sum | Primality T...
Read More
Arrays
Prime Number
prefix-sum
DSA
Java signum() method with Examples
The java.lang.Math.signum() returns the Sign function of a value passed to it as argument. The signum() function returns the following values depending on the argument pas...
Read More
Java
Java-lang package
java-math
Python program to convert float decimal to Octal number
Python doesn't support any inbuilt function to easily convert floating point decimal numbers to octal representation. Let's do this manually.Approach : To convert a decima...
Read More
Python
Python Programs
DSA
1
...
11269
11270
11271
...
11471