Méthode | Description | |
---|---|---|
amod ( double x, double y ) : double |
An adjusted remainder function as defined in "Calendrical Calculations".
|
|
amod ( int x, int y ) : int |
The adjusted remainder functions for integers as defined in "Calendrical Calculations".
|
|
div ( int x, int y ) : int |
The static method divides two integers. Please notify that the function is not compatible to the standard integer divide operation /. |
|
div_mod ( int &remainder, int x, int y ) : int |
A static method that combines integer division and remainder computation.
|
|
mod ( double x, double y ) : double |
A static method that computes the remainder of the division of two doubles.
|
|
mod ( int x, int y ) : int |
The static method computes the remainder of two integers. Please notify that the method is not compatible to the C# remainder operation %. |
|
round ( double x ) : double |
A static method which rounds a double value.
|
|
signum ( double x ) : int |
A static method returning the sign of the argument.
|
|
signum ( int x ) : int |
A static method returning the sign of the integer argument.
|
public static amod ( double x, double y ) : double | ||
x | double | The double x argument. |
y | double | The double y argument, the divisor. |
Résultat | double |
public static amod ( int x, int y ) : int | ||
x | int | The integer argument to be divided. |
y | int | The integer divisor argument. |
Résultat | int |
public static div ( int x, int y ) : int | ||
x | int | The integer x value. |
y | int | The integer y value. |
Résultat | int |
public static div_mod ( int &remainder, int x, int y ) : int | ||
remainder | int | Remainder integer output value. /// |
x | int | Integer to be divided. |
y | int | Divisor integer value. |
Résultat | int |
public static mod ( double x, double y ) : double | ||
x | double | The double value which is divided. |
y | double | The divisor. |
Résultat | double |
public static mod ( int x, int y ) : int | ||
x | int | The integer value which will be divided. |
y | int | The divisor integer value. |
Résultat | int |
public static round ( double x ) : double | ||
x | double | The double value to round. |
Résultat | double |
public static signum ( double x ) : int | ||
x | double | The double argument. |
Résultat | int |
public static signum ( int x ) : int | ||
x | int | The integer argument. |
Résultat | int |