|
|
Calculate Minimum option and
Maximum option for addition of
(min1, max1) and (min2, max2)
-
arg0
:
ValueUnit option
-
arg1
:
bool
-
arg2
:
ValueUnit option
-
arg3
:
bool
-
arg4
:
ValueUnit option
-
arg5
:
bool
-
arg6
:
ValueUnit option
-
arg7
:
bool
-
Returns:
Minimum option * Maximum option
|
|
|
Calculate x1 and x2 with operator op
and use incl1 and inc2 to determine whether
the result is inclusive. Use constructor c to
create the optional result.
-
c
:
bool -> ValueUnit -> 'a
-
op
:
ValueUnit -> ValueUnit -> ValueUnit
-
arg2
:
ValueUnit option
-
arg3
:
bool
-
arg4
:
ValueUnit option
-
arg5
:
bool
-
Returns:
'a option
|
|
|
Calculate an optional Maximum
-
Returns:
(ValueUnit -> ValueUnit -> ValueUnit) -> ValueUnit option * bool -> ValueUnit option * bool -> Maximum option
|
|
|
Calculate an optional Minimum
-
Returns:
(ValueUnit -> ValueUnit -> ValueUnit) -> ValueUnit option * bool -> ValueUnit option * bool -> Minimum option
|
|
|
Match the right minmax calculation
according to the operand
-
op
:
ValueUnit -> ValueUnit -> ValueUnit
-
Returns:
ValueUnit option * bool -> ValueUnit option * bool -> ValueUnit option * bool -> ValueUnit option * bool -> Minimum option * Maximum option
|
|
|
Calculate Minimum option and
Maximum option for division of
(min1, max1) and (min2, max2)
-
arg0
:
ValueUnit option
-
arg1
:
bool
-
arg2
:
ValueUnit option
-
arg3
:
bool
-
arg4
:
ValueUnit option
-
arg5
:
bool
-
arg6
:
ValueUnit option
-
arg7
:
bool
-
Returns:
Minimum option * Maximum option
|
|
|
-
max1
:
Maximum option
-
max2
:
Maximum option
-
Returns:
Maximum option
|
|
|
-
min1
:
Minimum option
-
min2
:
Minimum option
-
Returns:
Minimum option
|
|
|
Calculate Minimum option and
Maximum option for multiplication of
(min1, max1) and (min2, max2)
-
arg0
:
ValueUnit option
-
arg1
:
bool
-
arg2
:
ValueUnit option
-
arg3
:
bool
-
arg4
:
ValueUnit option
-
arg5
:
bool
-
arg6
:
ValueUnit option
-
arg7
:
bool
-
Returns:
Minimum option * Maximum option
|
|
|
Calculate Minimum option and
Maximum option for subtraction of
(min1, max1) and (min2, max2)
-
arg0
:
ValueUnit option
-
arg1
:
bool
-
arg2
:
ValueUnit option
-
arg3
:
bool
-
arg4
:
ValueUnit option
-
arg5
:
bool
-
arg6
:
ValueUnit option
-
arg7
:
bool
-
Returns:
Minimum option * Maximum option
|