DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T b

⟦5202bb453⟧ TextFile

    Length: 1066 (0x42a)
    Types: TextFile
    Names: »binary.hlp«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦e0e3e8967⟧ »./gnuplot.tar.Z« 
        └─⟦01af444b1⟧ 
            └─⟦this⟧ »gnuplot/help/expressions/operators/binary.hlp« 

TextFile

The following is a list of all the binary operators and their
usages:

 Symbol 	Example 	 Explanation
  **     	 a**b    	  exponentiation
  *      	 a*b     	  multiplication
  /      	 a/b     	  division
  %      	 a%b     	* modulo
  +      	 a+b     	  addition
  -      	 a-b     	  subtraction
  ==     	 a==b    	  equality
  !=     	 a!=b    	  inequality
  &      	 a&b     	* bitwise and
  ^      	 a^b     	* bitwise exclusive or
  |      	 a|b     	* bitwise inclusive or
  &&     	 a&&b    	* logical and
  ||     	 a||b    	* logical or
  ?:     	 a?b:c   	* ternary operation

(*) Starred explanations indicate that the operator requires
integer arguments.

Logical AND (&&) and OR (||) short-circuit the way they do in C.
That is, the second && operand is not evaluated if the first is
false; the second || operand is not evaluated if the first is true.

The ternary operator evaluates its first argument (a).  If it is
true (non-zero) the second argument (b) is evaluated and returned,
otherwise the third argument (c) is evaluated and returned.