O'Reilly logo

Gnuplot in Action: Understanding Data with Graphs by Philipp K. Janert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

B.3.1. Unary operators

In order of decreasing precedence.

Operator

Example

Argument type

Description

!

!a

int

logical NOT

~

~a

int

one’s complement

!

a!

int

factorial

-

-a

any numerical

unary minus

+

+a

any numerical

unary plus

B.3.2. Binary operators

In order of decreasing precedence.

Operator

Example

Argument Type

Description

**

a**b

any numerical

exponentiation

*

a*b

any numerical

multiplication

/

a/b

any numerical

division

%

a%b

int

modulo

+

a+b

any numerical

addition

-

a-b

any numerical

subtraction

<

a<b

any numerical

less than

<=

a<=b

any numerical

less than or equal to

>

a>b

any numerical

greater than

>=

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required