Used in a Sentence

unary

Definitions, parts of speech, synonyms, and sentence examples for unary.

Editorial note

Truthy/falsey means when used in a conditional or after a unary!.

Examples19
Definitions4
Parts of speech2

Quick take

Consisting of or involving a single element or component.

Meaning at a glance

The clearest senses and uses of unary gathered in one view.

adjective

Consisting of or involving a single element or component.

noun

(information theory) Unary coding, an entropy encoding for natural numbers.

noun

(mathematics) The unary, or bijective base-1, numeral system.

Definitions

Core meanings and parts of speech for unary.

adjective

Consisting of or involving a single element or component.

noun

(information theory) Unary coding, an entropy encoding for natural numbers.

noun

(mathematics) The unary, or bijective base-1, numeral system.

adjective

(mathematics, programming, computer engineering) Of an operation, function, procedure, or logic gate, taking exactly one operand, argument, parameter, or input; having domain of dimension 1.

Example sentences

1

Truthy/falsey means when used in a conditional or after a unary!.

2

It's neither: sizeof belongs in its own category of unary compile-time(-ish) operators, whose only other member is _Alignof.

3

Instead, a unary system uses as coefficients the natural numbers m such that 0 < m <= 1.

4

Just experimenting!) # Provide a prefix syntax that constructs a unary procedure from just a body.

5

The formulas for measuring the number of digits you need to represent a number work for any base system except unary.

6

But in a unary representation, the only number you could represent that way is 0.

7

It parses as an empty block ({}) and then an unrelated unary +[] after that.

8

You can distinguish the unary operator being applied to 1234 from a true -1234 constant.

9

The formulas for converting between two bases work for any base system except unary.

10

All in all past, present and future are binary relations, not unary ones.

11

It's an unary operator, with 2 forms: sizeof(type) or sizeof expression but e.g.

12

Correct me if I'm wrong, but I thought that the unary operator and the Number constructor yield equivalent results?

Quote examples

1

Unary "cheats" by using a meaningless symbol and passing all the information in the number of times the symbol is written.

2

If a unary "&" is applied directly to the result of a unary " " operator, then neither is evaluated.

3

Per the comment herein: "Currying turns polyadic function into a sequence of unary functions".

4

If you're going to change the name, "unary trees" makes a lot more sense.

Proper noun examples

1

Unary requires entirely different algorithms because it's not a base number system.

2

Unary numbers are perfectly commensurate with binary, decimal, octal, etc., numbers.

3

Unary representation differs from better bases in one very important regard: a base- n representation of a number uses n symbols, and you write the number as the coefficients of a power series in n.

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use unary in a sentence?

Truthy/falsey means when used in a conditional or after a unary!.

What does unary mean?

Consisting of or involving a single element or component.

What part of speech is unary?

unary is commonly used as adjective, noun.