Benutzer:MovGP0/F♯/Arithmetic Operators

aus Wikipedia, der freien Enzyklopädie
Zur Navigation springen Zur Suche springen
   MovGP0        Über mich        Hilfen        Artikel        Weblinks        Literatur        Zitate        Notizen        Programmierung        MSCert        Physik      


Arithmetic Operators

[Bearbeiten | Quelltext bearbeiten]
Arithmetic Operators
Operator Example Description
+ x + y Addition
- x - y Subtraction
* x * y Multiplication
/ x / y Division
% x % y Remainder
- -x Unary minus

Comparison Operators

[Bearbeiten | Quelltext bearbeiten]
Comparison Operators
Operator Example Description
< x < y Less than
<= x <= y Less than or equal to
> x > y Greater than
>= x >= y Greater than or equal to
(=) x = y Equality
<> x <> y Inequality
min min x y Minimum
max max x y Maximum
Math Operators
Operator Example Description
abs abs x Overloaded absolute value
acos acos x Overloaded inverse cosine
asin asin x Overloaded inverse sine
atan atan x Overloaded inverse tangent
ceil ceil x Overloaded floating-point ceil
cos cos x Overloaded cosine
exp exp x Overloaded exponent
floor floor x Overloaded floating-point floor
log log x Overloaded natural logarithm
log10 log10 x Overloaded base-10 logarithm
(**) x ** y Overloaded exponential
pown pown x y Overloaded integer exponential
round round x Overloaded rounding
sin sin x Overloaded sine function
sqrt sqrt x Overloaded square root function
tan tan x Overloaded tangent function