div2(9)

div29

Quotient of two floating point inputs

Usage

loadrt div2 [count=N|names=name1[,name2...]]

Overview

A very simple comp to divide a floating point number by another floating point number, to get a floating point result. Remember, not to use a zero divisor. A zero divisor creates an indefinte result. This is simple mathematics.

Functions

div2.N (requires a floating-point thread)

Pins

div2.N.in0 float in

the Dividend

div2.N.in1 float in

the Divisor

div2.N.out float out

the Quotient out = in0 / in1

Parameters

div2.N.deadband float rw

The out will be zero if in is between -deadband and +deadband

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Noel Rodes

License

GPL

From linuxcnc-uspace 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.