+
const func float: (in integer: summand1) + (in float: summand2)
-
Add an integer and a float number.
- Returns:
- the sum of the two numbers.
+
const func float: (in float: summand1) + (in integer: summand2)
-
Add a float and an integer number.
- Returns:
- the sum of the two numbers.
-
const func float: (in integer: minuend) - (in float: subtrahend)
-
Subtract a float from an integer number.
- Returns:
- the difference of the two numbers.
-
const func float: (in float: minuend) - (in integer: subtrahend)
-
Subtract an integer from a float number.
- Returns:
- the difference of the two numbers.
*
const func float: (in integer: factor1) * (in float: factor2)
-
Multiply an integer by a float number.
- Returns:
- the product of the two numbers.
*
const func float: (in float: factor1) * (in integer: factor2)
-
Multiply a float by an [[integer] number.
- Returns:
- the product of the two numbers.
/
const func float: (in integer: dividend) / (in float: divisor)
-
Divide an integer by a float number.
A / 0.0 returns Infinity for A > 0
A / 0.0 returns -Infinity for A < 0
0 / 0.0 returns NaN
- Returns:
- the quotient of the division.
/
const func float: (in float: dividend) / (in integer: divisor)
-
Divide a float by an integer number.
A / 0 returns Infinity for A > 0.0
A / 0 returns -Infinity for A < 0.0
0.0 / 0 returns NaN
- Returns:
- the quotient of the division.
+
const func rational: (in integer: summand1) + (in rational: summand2)
-
Add an integer and a rational number.
- Returns:
- the sum of the two numbers.
+
const func rational: (in rational: summand1) + (in integer: summand2)
-
Add a rational and an integer number.
- Returns:
- the sum of the two numbers.
-
const func rational: (in integer: minuend) - (in rational: subtrahend)
-
Subtract a rational from an integer number.
- Returns:
- the difference of the two numbers.
-
const func rational: (in rational: minuend) - (in integer: subtrahend)
-
Subtract an integer from a rational number.
- Returns:
- the difference of the two numbers.
*
const func rational: (in integer: factor1) * (in rational: factor2)
-
Multiply an integer by a rational number.
- Returns:
- the product of the two numbers.
*
const func rational: (in rational: factor1) * (in integer: factor2)
-
Multiply a rational by an [[integer] number.
- Returns:
- the product of the two numbers.
/
const func rational: (in integer: dividend) / (in rational: divisor)
-
Divide an integer by a rational number.
A / 0.0 returns Infinity for A > 0
A / 0.0 returns -Infinity for A < 0
0 / 0.0 returns NaN
- Returns:
- the quotient of the division.
/
const func rational: (in rational: dividend) / (in integer: divisor)
-
Divide a rational by an integer number.
A / 0 returns Infinity for A > 0.0
A / 0 returns -Infinity for A < 0.0
0.0 / 0 returns NaN
- Returns:
- the quotient of the division.
+
const func float: (in rational: summand1) + (in float: summand2)
-
Add a rational and a float number.
- Returns:
- the sum of the two numbers.
+
const func float: (in float: summand1) + (in rational: summand2)
-
Add a float and a rational number.
- Returns:
- the sum of the two numbers.
-
const func float: (in rational: minuend) - (in float: subtrahend)
-
Subtract a float from a rational number.
- Returns:
- the difference of the two numbers.
-
const func float: (in float: minuend) - (in rational: subtrahend)
-
Subtract a rational from a float number.
- Returns:
- the difference of the two numbers.
*
const func float: (in rational: factor1) * (in float: factor2)
-
Multiply a rational by a float number.
- Returns:
- the product of the two numbers.
*
const func float: (in float: factor1) * (in rational: factor2)
-
Multiply a float by a [[rational] number.
- Returns:
- the product of the two numbers.
/
const func float: (in rational: dividend) / (in float: divisor)
-
Divide a rational by a float number.
A / 0.0 returns Infinity for A > 0 / 1
A / 0.0 returns -Infinity for A < 0 / 1
(0 / 1) / 0.0 returns NaN
- Returns:
- the quotient of the division.
/
const func float: (in float: dividend) / (in rational: divisor)
-
Divide a float by a rational number.
A / (0 / 1) returns Infinity for A > 0.0
A / (0 / 1) returns -Infinity for A < 0.0
0.0 / (0 / 1) returns NaN
- Returns:
- the quotient of the division.