Arith Difference+: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Schema == Bild:arith_difference+.png This block obsoletes the "Arith [ DifferenceN ] " block. It has the same semantics, but all…“) |
Cg (Diskussion | Beiträge) |
||
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 10: | Zeile 10: | ||
== Automatic Type Conversion == |
== Automatic Type Conversion == |
||
The block allows for mixed mode arithmetic. This means that all combinations of numbers are allowed as input. |
|||
See the description in "Arith [Sum]". |
|||
<br>However, due to the pins being of type "Number", non-numbers (such as physical values or vectors) are not handled (unless type checks are disabled at the pins). Use the new [[ Arith Difference Any|"Arith [ Difference Any ]" ]] block for this.<br> |
|||
For details on the conversion rules, please refer to the documentation of the |
|||
[[ Arith Sum | "Arith [ Sum ]" ]] block. |
|||
== Revisions == |
== Revisions == |
||
Zeile 21: | Zeile 24: | ||
<hr> |
<hr> |
||
Back to [[Standard_Library#Arithmetic|Standard Library]].<br> |
Back to [[Standard_Library#Arithmetic|Standard Library]].<br> |
||
Previous: [[Arith |
Previous: [[Arith Difference|Arith [ Difference ]]]<br> |
||
Next: [[Arith |
Next: [[Arith Product|Arith [ Product ]]] |
||
<!--AutoUpdateNavPanel--> |
<!--AutoUpdateNavPanel--> |
Aktuelle Version vom 16. September 2021, 07:03 Uhr
Inhaltsverzeichnis
Schema[Bearbeiten]
This block obsoletes the "Arith [ DifferenceN ] " block. It has the same semantics, but allows for an arbitrary number of input pins.
Operation[Bearbeiten]
This block subtracts multiple values from a number, i.e.
difference = number1 - number2 - ... - numberN.
Automatic Type Conversion[Bearbeiten]
The block allows for mixed mode arithmetic. This means that all combinations of numbers are allowed as input.
However, due to the pins being of type "Number", non-numbers (such as physical values or vectors) are not handled (unless type checks are disabled at the pins). Use the new "Arith [ Difference Any ]" block for this.
For details on the conversion rules, please refer to the documentation of the
"Arith [ Sum ]" block.
Revisions[Bearbeiten]
This block has been in the Standard Library since 2.3.0.