public interface BasicFunctions
Modifier and Type | Method and Description |
---|---|
double |
addition(double a,
double b)
Performs addition of given numbers
a and b . |
double |
division(double a,
double b)
Performs division of given numbers
a and b ,
where b is the factor. |
double |
multiplication(double a,
double b)
Performs multiplication of given numbers
a and b . |
double |
substraction(double a,
double b)
Performs substraction of given numbers
a and b . |
double addition(double a, double b)
a
and b
.a
- b
- double substraction(double a, double b)
a
and b
.a
- b
- double multiplication(double a, double b)
a
and b
.a
- b
- double division(double a, double b)
a
and b
,
where b
is the factor. If b
is equal to 0
the result is Double.NaN
.a
- b
- Copyright © 2014. All rights reserved.