double java.lang.Math.sqrt(double a)

송병훈·2022년 3월 21일
0

method

목록 보기
9/13

double java.lang.Math.sqrt(double a)


올바르게 반올림된 이중 값의 양의 제곱근을 반환합니다. 특수한 경우:
•인수가 NaN이거나 0보다 작으면 결과는 NaN이다.
•인수가 양의 무한이라면 결과는 양의 무한이다.
•인수가 양수 0 또는 음수 0이면 결과는 인수와 같다.
그렇지 않으면 인수 값의 실제 수학 제곱근에 가장 가까운 이중 값이 됩니다.

파라미터: 값.

반환값: a의 양의 제곱근. 인수가 NaN이거나 0보다 작을 경우 결과는 NaN입니다.


Returns the correctly rounded positive square root of a double value. Special cases:
•If the argument is NaN or less than zero, then the result is NaN.
•If the argument is positive infinity, then the result is positive infinity.
•If the argument is positive zero or negative zero, then the result is the same as the argument.
Otherwise, the result is the double value closest to the true mathematical square root of the argument value.

Parameters:
a a value.

Returns:
the positive square root of a. If the argument is NaN or less than zero, the result is NaN.

profile
성실하고 꼼꼼하게

0개의 댓글