Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
System
Globalization
CCMath
signum
System.Globalization.CCMath.signum C# (CSharp) 메소드
CCMath 1 문서
파일 보기
프로젝트 열기: runefs/Marvin
signum()
공개
정적인
메소드
A static method returning the sign of the argument.
public
static
signum
(
double
x
) :
int
x
double
The double argument.
리턴
int
public static int signum(double x) { if (x < 0.0) return -1; if (x == 0.0) return 0; return 1; }
Same methods
CCMath::
signum
(
int
x
) :
int
CCMath
amod
div
div_mod
mod
round
signum