---
name: "maj3"
section: "9"
platform: "linux"
package: "linuxcnc-uspace"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/maj3"
---

# maj3(9)

Compute the majority of 3 inputs

## NAME

maj3 - Compute the majority of 3 inputs

## SYNOPSIS

**loadrt maj3 \[count=*N*\|names=*name1*\[,*name2...*\]\]**

## FUNCTIONS

- **maj3.***N*

  ## PINS

- **maj3.*N*.in1 bit in**

  - **maj3.*N*.in2 bit in**

  - **maj3.*N*.in3 bit in**

  - **maj3.*N*.out bit out**

  ## PARAMETERS

- **maj3.*N*.invert bit rw**

  ## AUTHOR

Jeff Epler

## LICENSE

GPL
