Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
System
Globalization
CCMath
signum
System.Globalization.CCMath.signum C# (CSharp) Méthode
CCMath Class Documentation
Afficher le fichier
Open project: runefs/Marvin
signum()
public
static
méthode
A static method returning the sign of the argument.
public
static
signum
(
double
x
) :
int
x
double
The double argument.
Résultat
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